Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '63930ba9614e452691f304d08dabd58d', '-D', '/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1648425600 Wrote: /builddir/build/SRPMS/python-window-terminal-1.0.6-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'af61d891899c4064bfc3ecf7b1c39ec8', '-D', '/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1648425600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AuAHCy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf window-terminal-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/window-terminal-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd window-terminal-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0mEzt1 + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-window-terminal-1.0.6-1.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f981502a79f04214b9968750b88b1b9b', '-D', '/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1648425600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7uZJRK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf window-terminal-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/window-terminal-1.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd window-terminal-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.KAEpFI + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) HOOK STDOUT: # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) HOOK STDOUT: HOOK STDOUT: **window-terminal** is a Python module for start new Terminal Window with print and input control. HOOK STDOUT: HOOK STDOUT: ## Installation HOOK STDOUT: HOOK STDOUT: Install from pip. HOOK STDOUT: HOOK STDOUT: ```bash HOOK STDOUT: pip install window-terminal HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: ## Usage HOOK STDOUT: HOOK STDOUT: Below there are example, how to use this module. HOOK STDOUT: HOOK STDOUT: ```python HOOK STDOUT: import time HOOK STDOUT: from window_terminal import WindowTerminal HOOK STDOUT: HOOK STDOUT: #### First Example: Print on Windows Terminal #### HOOK STDOUT: HOOK STDOUT: # To instantiate a Window Terminal call 'WindowTerminal.create_window()' HOOK STDOUT: window1 = WindowTerminal.create_window() HOOK STDOUT: HOOK STDOUT: # To Open a Window Terminal, call 'open()' from a object HOOK STDOUT: window1.open() HOOK STDOUT: HOOK STDOUT: # Print on Windown Terminal, call 'print()' HOOK STDOUT: window1.print('Hello I\'m a Window Terminal!') HOOK STDOUT: HOOK STDOUT: # The Window Terminal can be closed at any time HOOK STDOUT: # For example: close after 3 seconds HOOK STDOUT: time.sleep(3) HOOK STDOUT: window1.close() HOOK STDOUT: HOOK STDOUT: #### Second Example: Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # Insantiating and opening it more... HOOK STDOUT: window2 = WindowTerminal.create_window() HOOK STDOUT: window2.open() HOOK STDOUT: HOOK STDOUT: # And printing... HOOK STDOUT: window2.print('### Welcome to Window Terminal 2 ###') HOOK STDOUT: HOOK STDOUT: # To prompt for something to Window Terminal call 'input()' HOOK STDOUT: # Current thread will be blocked until input is answered HOOK STDOUT: something = window2.input('Type something here: ') HOOK STDOUT: HOOK STDOUT: # Priting result... HOOK STDOUT: print('Window Temrinal 2 replied:', repr(something)) HOOK STDOUT: HOOK STDOUT: # Closing Window Terminal 2 HOOK STDOUT: window2.close() HOOK STDOUT: HOOK STDOUT: #### Third Example: Async Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # # Insantiating and opening it for the last time... HOOK STDOUT: window3 = WindowTerminal.create_window() HOOK STDOUT: window3.open() HOOK STDOUT: HOOK STDOUT: # We can define a function to be called when input is answered HOOK STDOUT: def input_callback(result): HOOK STDOUT: print('Window Terminal 3 repled:', repr(result)) HOOK STDOUT: HOOK STDOUT: # Now, current thread not will be blocked, when 'input()' is called HOOK STDOUT: window3.input('Other input, type something more here: ', input_callback) HOOK STDOUT: HOOK STDOUT: # To prevent the script from closing, call 'wait_close()' to block HOOK STDOUT: # current thread, until Window Terminal close (for example: user action). HOOK STDOUT: window3.wait_close() HOOK STDOUT: HOOK STDOUT: # Printing after Window Terminal 3 close HOOK STDOUT: print('Window Terminal 3 was closed!') HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: HOOK STDOUT: ## Screenshot HOOK STDOUT: HOOK STDOUT: ![Screenshot](screenshot-window-terminal.png) HOOK STDOUT: HOOK STDOUT: ## Contributing HOOK STDOUT: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. HOOK STDOUT: HOOK STDOUT: Please make sure to update tests as appropriate. HOOK STDOUT: HOOK STDOUT: ## License HOOK STDOUT: [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) HOOK STDOUT: running egg_info HOOK STDOUT: writing window_terminal.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to window_terminal.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to window_terminal.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'window_terminal.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) HOOK STDOUT: # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) HOOK STDOUT: HOOK STDOUT: **window-terminal** is a Python module for start new Terminal Window with print and input control. HOOK STDOUT: HOOK STDOUT: ## Installation HOOK STDOUT: HOOK STDOUT: Install from pip. HOOK STDOUT: HOOK STDOUT: ```bash HOOK STDOUT: pip install window-terminal HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: ## Usage HOOK STDOUT: HOOK STDOUT: Below there are example, how to use this module. HOOK STDOUT: HOOK STDOUT: ```python HOOK STDOUT: import time HOOK STDOUT: from window_terminal import WindowTerminal HOOK STDOUT: HOOK STDOUT: #### First Example: Print on Windows Terminal #### HOOK STDOUT: HOOK STDOUT: # To instantiate a Window Terminal call 'WindowTerminal.create_window()' HOOK STDOUT: window1 = WindowTerminal.create_window() HOOK STDOUT: HOOK STDOUT: # To Open a Window Terminal, call 'open()' from a object HOOK STDOUT: window1.open() HOOK STDOUT: HOOK STDOUT: # Print on Windown Terminal, call 'print()' HOOK STDOUT: window1.print('Hello I\'m a Window Terminal!') HOOK STDOUT: HOOK STDOUT: # The Window Terminal can be closed at any time HOOK STDOUT: # For example: close after 3 seconds HOOK STDOUT: time.sleep(3) HOOK STDOUT: window1.close() HOOK STDOUT: HOOK STDOUT: #### Second Example: Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # Insantiating and opening it more... HOOK STDOUT: window2 = WindowTerminal.create_window() HOOK STDOUT: window2.open() HOOK STDOUT: HOOK STDOUT: # And printing... HOOK STDOUT: window2.print('### Welcome to Window Terminal 2 ###') HOOK STDOUT: HOOK STDOUT: # To prompt for something to Window Terminal call 'input()' HOOK STDOUT: # Current thread will be blocked until input is answered HOOK STDOUT: something = window2.input('Type something here: ') HOOK STDOUT: HOOK STDOUT: # Priting result... HOOK STDOUT: print('Window Temrinal 2 replied:', repr(something)) HOOK STDOUT: HOOK STDOUT: # Closing Window Terminal 2 HOOK STDOUT: window2.close() HOOK STDOUT: HOOK STDOUT: #### Third Example: Async Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # # Insantiating and opening it for the last time... HOOK STDOUT: window3 = WindowTerminal.create_window() HOOK STDOUT: window3.open() HOOK STDOUT: HOOK STDOUT: # We can define a function to be called when input is answered HOOK STDOUT: def input_callback(result): HOOK STDOUT: print('Window Terminal 3 repled:', repr(result)) HOOK STDOUT: HOOK STDOUT: # Now, current thread not will be blocked, when 'input()' is called HOOK STDOUT: window3.input('Other input, type something more here: ', input_callback) HOOK STDOUT: HOOK STDOUT: # To prevent the script from closing, call 'wait_close()' to block HOOK STDOUT: # current thread, until Window Terminal close (for example: user action). HOOK STDOUT: window3.wait_close() HOOK STDOUT: HOOK STDOUT: # Printing after Window Terminal 3 close HOOK STDOUT: print('Window Terminal 3 was closed!') HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: HOOK STDOUT: ## Screenshot HOOK STDOUT: HOOK STDOUT: ![Screenshot](screenshot-window-terminal.png) HOOK STDOUT: HOOK STDOUT: ## Contributing HOOK STDOUT: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. HOOK STDOUT: HOOK STDOUT: Please make sure to update tests as appropriate. HOOK STDOUT: HOOK STDOUT: ## License HOOK STDOUT: [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) HOOK STDOUT: running dist_info HOOK STDOUT: writing window_terminal.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to window_terminal.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to window_terminal.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/window-terminal-1.0.6/window_terminal.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-window-terminal-1.0.6-1.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'], chrootPath='/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a0dbf2202226449bbd54260e3178ebd6', '-D', '/var/lib/mock/centos-stream+epel-9-x86_64-1648542593.949882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.01gkks8r:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/python-window-terminal.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1648425600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.alqdXm + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv window_terminal.dist-info/ removed 'window_terminal.dist-info/METADATA' removed 'window_terminal.dist-info/top_level.txt' removed directory 'window_terminal.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) HOOK STDOUT: # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) HOOK STDOUT: HOOK STDOUT: **window-terminal** is a Python module for start new Terminal Window with print and input control. HOOK STDOUT: HOOK STDOUT: ## Installation HOOK STDOUT: HOOK STDOUT: Install from pip. HOOK STDOUT: HOOK STDOUT: ```bash HOOK STDOUT: pip install window-terminal HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: ## Usage HOOK STDOUT: HOOK STDOUT: Below there are example, how to use this module. HOOK STDOUT: HOOK STDOUT: ```python HOOK STDOUT: import time HOOK STDOUT: from window_terminal import WindowTerminal HOOK STDOUT: HOOK STDOUT: #### First Example: Print on Windows Terminal #### HOOK STDOUT: HOOK STDOUT: # To instantiate a Window Terminal call 'WindowTerminal.create_window()' HOOK STDOUT: window1 = WindowTerminal.create_window() HOOK STDOUT: HOOK STDOUT: # To Open a Window Terminal, call 'open()' from a object HOOK STDOUT: window1.open() HOOK STDOUT: HOOK STDOUT: # Print on Windown Terminal, call 'print()' HOOK STDOUT: window1.print('Hello I\'m a Window Terminal!') HOOK STDOUT: HOOK STDOUT: # The Window Terminal can be closed at any time HOOK STDOUT: # For example: close after 3 seconds HOOK STDOUT: time.sleep(3) HOOK STDOUT: window1.close() HOOK STDOUT: HOOK STDOUT: #### Second Example: Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # Insantiating and opening it more... HOOK STDOUT: window2 = WindowTerminal.create_window() HOOK STDOUT: window2.open() HOOK STDOUT: HOOK STDOUT: # And printing... HOOK STDOUT: window2.print('### Welcome to Window Terminal 2 ###') HOOK STDOUT: HOOK STDOUT: # To prompt for something to Window Terminal call 'input()' HOOK STDOUT: # Current thread will be blocked until input is answered HOOK STDOUT: something = window2.input('Type something here: ') HOOK STDOUT: HOOK STDOUT: # Priting result... HOOK STDOUT: print('Window Temrinal 2 replied:', repr(something)) HOOK STDOUT: HOOK STDOUT: # Closing Window Terminal 2 HOOK STDOUT: window2.close() HOOK STDOUT: HOOK STDOUT: #### Third Example: Async Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # # Insantiating and opening it for the last time... HOOK STDOUT: window3 = WindowTerminal.create_window() HOOK STDOUT: window3.open() HOOK STDOUT: HOOK STDOUT: # We can define a function to be called when input is answered HOOK STDOUT: def input_callback(result): HOOK STDOUT: print('Window Terminal 3 repled:', repr(result)) HOOK STDOUT: HOOK STDOUT: # Now, current thread not will be blocked, when 'input()' is called HOOK STDOUT: window3.input('Other input, type something more here: ', input_callback) HOOK STDOUT: HOOK STDOUT: # To prevent the script from closing, call 'wait_close()' to block HOOK STDOUT: # current thread, until Window Terminal close (for example: user action). HOOK STDOUT: window3.wait_close() HOOK STDOUT: HOOK STDOUT: # Printing after Window Terminal 3 close HOOK STDOUT: print('Window Terminal 3 was closed!') HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: HOOK STDOUT: ## Screenshot HOOK STDOUT: HOOK STDOUT: ![Screenshot](screenshot-window-terminal.png) HOOK STDOUT: HOOK STDOUT: ## Contributing HOOK STDOUT: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. HOOK STDOUT: HOOK STDOUT: Please make sure to update tests as appropriate. HOOK STDOUT: HOOK STDOUT: ## License HOOK STDOUT: [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) HOOK STDOUT: running egg_info HOOK STDOUT: creating window_terminal.egg-info HOOK STDOUT: writing window_terminal.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to window_terminal.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to window_terminal.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'window_terminal.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) HOOK STDOUT: # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) HOOK STDOUT: HOOK STDOUT: **window-terminal** is a Python module for start new Terminal Window with print and input control. HOOK STDOUT: HOOK STDOUT: ## Installation HOOK STDOUT: HOOK STDOUT: Install from pip. HOOK STDOUT: HOOK STDOUT: ```bash HOOK STDOUT: pip install window-terminal HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: ## Usage HOOK STDOUT: HOOK STDOUT: Below there are example, how to use this module. HOOK STDOUT: HOOK STDOUT: ```python HOOK STDOUT: import time HOOK STDOUT: from window_terminal import WindowTerminal HOOK STDOUT: HOOK STDOUT: #### First Example: Print on Windows Terminal #### HOOK STDOUT: HOOK STDOUT: # To instantiate a Window Terminal call 'WindowTerminal.create_window()' HOOK STDOUT: window1 = WindowTerminal.create_window() HOOK STDOUT: HOOK STDOUT: # To Open a Window Terminal, call 'open()' from a object HOOK STDOUT: window1.open() HOOK STDOUT: HOOK STDOUT: # Print on Windown Terminal, call 'print()' HOOK STDOUT: window1.print('Hello I\'m a Window Terminal!') HOOK STDOUT: HOOK STDOUT: # The Window Terminal can be closed at any time HOOK STDOUT: # For example: close after 3 seconds HOOK STDOUT: time.sleep(3) HOOK STDOUT: window1.close() HOOK STDOUT: HOOK STDOUT: #### Second Example: Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # Insantiating and opening it more... HOOK STDOUT: window2 = WindowTerminal.create_window() HOOK STDOUT: window2.open() HOOK STDOUT: HOOK STDOUT: # And printing... HOOK STDOUT: window2.print('### Welcome to Window Terminal 2 ###') HOOK STDOUT: HOOK STDOUT: # To prompt for something to Window Terminal call 'input()' HOOK STDOUT: # Current thread will be blocked until input is answered HOOK STDOUT: something = window2.input('Type something here: ') HOOK STDOUT: HOOK STDOUT: # Priting result... HOOK STDOUT: print('Window Temrinal 2 replied:', repr(something)) HOOK STDOUT: HOOK STDOUT: # Closing Window Terminal 2 HOOK STDOUT: window2.close() HOOK STDOUT: HOOK STDOUT: #### Third Example: Async Interact with Window Terminal #### HOOK STDOUT: HOOK STDOUT: # # Insantiating and opening it for the last time... HOOK STDOUT: window3 = WindowTerminal.create_window() HOOK STDOUT: window3.open() HOOK STDOUT: HOOK STDOUT: # We can define a function to be called when input is answered HOOK STDOUT: def input_callback(result): HOOK STDOUT: print('Window Terminal 3 repled:', repr(result)) HOOK STDOUT: HOOK STDOUT: # Now, current thread not will be blocked, when 'input()' is called HOOK STDOUT: window3.input('Other input, type something more here: ', input_callback) HOOK STDOUT: HOOK STDOUT: # To prevent the script from closing, call 'wait_close()' to block HOOK STDOUT: # current thread, until Window Terminal close (for example: user action). HOOK STDOUT: window3.wait_close() HOOK STDOUT: HOOK STDOUT: # Printing after Window Terminal 3 close HOOK STDOUT: print('Window Terminal 3 was closed!') HOOK STDOUT: ``` HOOK STDOUT: HOOK STDOUT: HOOK STDOUT: ## Screenshot HOOK STDOUT: HOOK STDOUT: ![Screenshot](screenshot-window-terminal.png) HOOK STDOUT: HOOK STDOUT: ## Contributing HOOK STDOUT: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. HOOK STDOUT: HOOK STDOUT: Please make sure to update tests as appropriate. HOOK STDOUT: HOOK STDOUT: ## License HOOK STDOUT: [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) HOOK STDOUT: running dist_info HOOK STDOUT: writing window_terminal.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to window_terminal.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to window_terminal.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'window_terminal.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/window-terminal-1.0.6/window_terminal.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.to1Xt9 + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + mkdir -p /builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/window-terminal-1.0.6/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/window-terminal-1.0.6 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) **window-terminal** is a Python module for start new Terminal Window with print and input control. ## Installation Install from pip. ```bash pip install window-terminal ``` ## Usage Below there are example, how to use this module. ```python import time from window_terminal import WindowTerminal #### First Example: Print on Windows Terminal #### # To instantiate a Window Terminal call 'WindowTerminal.create_window()' window1 = WindowTerminal.create_window() # To Open a Window Terminal, call 'open()' from a object window1.open() # Print on Windown Terminal, call 'print()' window1.print('Hello I\'m a Window Terminal!') # The Window Terminal can be closed at any time # For example: close after 3 seconds time.sleep(3) window1.close() #### Second Example: Interact with Window Terminal #### # Insantiating and opening it more... window2 = WindowTerminal.create_window() window2.open() # And printing... window2.print('### Welcome to Window Terminal 2 ###') # To prompt for something to Window Terminal call 'input()' # Current thread will be blocked until input is answered something = window2.input('Type something here: ') # Priting result... print('Window Temrinal 2 replied:', repr(something)) # Closing Window Terminal 2 window2.close() #### Third Example: Async Interact with Window Terminal #### # # Insantiating and opening it for the last time... window3 = WindowTerminal.create_window() window3.open() # We can define a function to be called when input is answered def input_callback(result): print('Window Terminal 3 repled:', repr(result)) # Now, current thread not will be blocked, when 'input()' is called window3.input('Other input, type something more here: ', input_callback) # To prevent the script from closing, call 'wait_close()' to block # current thread, until Window Terminal close (for example: user action). window3.wait_close() # Printing after Window Terminal 3 close print('Window Terminal 3 was closed!') ``` ## Screenshot ![Screenshot](screenshot-window-terminal.png) ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## License [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) running dist_info creating /builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info writing /builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/SOURCES.txt' writing manifest file '/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-modern-metadata-iby5mrml/window_terminal.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: window-terminal Building wheel for window-terminal (pyproject.toml): started Running command Building wheel for window-terminal (pyproject.toml) # window-terminal [![Python versions](https://img.shields.io/badge/python-3-brightgreen.svg)](https://www.python.org/) **window-terminal** is a Python module for start new Terminal Window with print and input control. ## Installation Install from pip. ```bash pip install window-terminal ``` ## Usage Below there are example, how to use this module. ```python import time from window_terminal import WindowTerminal #### First Example: Print on Windows Terminal #### # To instantiate a Window Terminal call 'WindowTerminal.create_window()' window1 = WindowTerminal.create_window() # To Open a Window Terminal, call 'open()' from a object window1.open() # Print on Windown Terminal, call 'print()' window1.print('Hello I\'m a Window Terminal!') # The Window Terminal can be closed at any time # For example: close after 3 seconds time.sleep(3) window1.close() #### Second Example: Interact with Window Terminal #### # Insantiating and opening it more... window2 = WindowTerminal.create_window() window2.open() # And printing... window2.print('### Welcome to Window Terminal 2 ###') # To prompt for something to Window Terminal call 'input()' # Current thread will be blocked until input is answered something = window2.input('Type something here: ') # Priting result... print('Window Temrinal 2 replied:', repr(something)) # Closing Window Terminal 2 window2.close() #### Third Example: Async Interact with Window Terminal #### # # Insantiating and opening it for the last time... window3 = WindowTerminal.create_window() window3.open() # We can define a function to be called when input is answered def input_callback(result): print('Window Terminal 3 repled:', repr(result)) # Now, current thread not will be blocked, when 'input()' is called window3.input('Other input, type something more here: ', input_callback) # To prevent the script from closing, call 'wait_close()' to block # current thread, until Window Terminal close (for example: user action). window3.wait_close() # Printing after Window Terminal 3 close print('Window Terminal 3 was closed!') ``` ## Screenshot ![Screenshot](screenshot-window-terminal.png) ## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. ## License [MIT](https://raw.githubusercontent.com/Igorxp5/window-terminal/master/LICENSE) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/window_terminal copying window_terminal/__init__.py -> build/lib/window_terminal installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/window_terminal copying build/lib/window_terminal/__init__.py -> build/bdist.linux-x86_64/wheel/window_terminal running install_egg_info running egg_info creating window_terminal.egg-info writing window_terminal.egg-info/PKG-INFO writing dependency_links to window_terminal.egg-info/dependency_links.txt writing top-level names to window_terminal.egg-info/top_level.txt writing manifest file 'window_terminal.egg-info/SOURCES.txt' reading manifest file 'window_terminal.egg-info/SOURCES.txt' writing manifest file 'window_terminal.egg-info/SOURCES.txt' Copying window_terminal.egg-info to build/bdist.linux-x86_64/wheel/window_terminal-1.0.6-py3.9.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/window_terminal-1.0.6.dist-info/WHEEL creating '/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir/pip-wheel-1oljb6q2/tmp5eeg0cip/window_terminal-1.0.6-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'window_terminal/__init__.py' adding 'window_terminal-1.0.6.dist-info/METADATA' adding 'window_terminal-1.0.6.dist-info/WHEEL' adding 'window_terminal-1.0.6.dist-info/top_level.txt' adding 'window_terminal-1.0.6.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for window-terminal (pyproject.toml): finished with status 'done' Created wheel for window-terminal: filename=window_terminal-1.0.6-py3-none-any.whl size=4875 sha256=637cafba5559df6b686ab277c1343f428021fc19e6b20b39db6b824197e99662 Stored in directory: /builddir/.cache/pip/wheels/e0/47/f1/53e3748d3b481de218be6aef8391112da2629cbca584e4dde3 Successfully built window-terminal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6DFiUw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 + cd window-terminal-1.0.6 ++ ls /builddir/build/BUILD/window-terminal-1.0.6/pyproject-wheeldir/window_terminal-1.0.6-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=window_terminal==1.0.6 + TMPDIR=/builddir/build/BUILD/window-terminal-1.0.6/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/window-terminal-1.0.6/pyproject-wheeldir window_terminal==1.0.6 Using pip 22.0.4 from /usr/lib/python3.9/site-packages/pip (python 3.9) Looking in links: /builddir/build/BUILD/window-terminal-1.0.6/pyproject-wheeldir Processing ./pyproject-wheeldir/window_terminal-1.0.6-py3-none-any.whl Installing collected packages: window_terminal Successfully installed window_terminal-1.0.6 + '[' -d /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages ']' + site_dirs+=("/usr/lib/python3.9/site-packages") + '[' /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib64/python3.9/site-packages '!=' /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib64/python3.9/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 --record /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages/window_terminal-1.0.6.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 --sitelib /usr/lib/python3.9/site-packages --sitearch /usr/lib64/python3.9/site-packages --python-version 3.9 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr '*' +auto + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.6-1.el9 --unique-debug-suffix -1.0.6-1.el9.x86_64 --unique-debug-src-base python-window-terminal-1.0.6-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/window-terminal-1.0.6 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4OJ03k + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + '[' '!' -f /builddir/build/BUILD/pyproject-modules ']' + PATH=/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -s /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/pyproject-modules -t Check import: window_terminal + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-window-terminal-1.0.6-1.el9.noarch Provides: python-window-terminal = 1.0.6-1.el9 python3-window-terminal = 1.0.6-1.el9 python3.9-window-terminal = 1.0.6-1.el9 python3.9dist(window-terminal) = 1.0.6 python3dist(window-terminal) = 1.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Obsoletes: python39-window-terminal < 1.0.6-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 Wrote: /builddir/build/SRPMS/python-window-terminal-1.0.6-1.el9.src.rpm Wrote: /builddir/build/RPMS/python3-window-terminal-1.0.6-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3cHsi1 + umask 022 + cd /builddir/build/BUILD + cd window-terminal-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-window-terminal-1.0.6-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0