Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pysc1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/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.858h9mmn:/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.858h9mmn:/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', '86372aac9e6b436da6a9d1157641f7ce', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.858h9mmn:/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-pysc1.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=1646352000 Wrote: /builddir/build/SRPMS/python-pysc1-0.0.4-1.fc37.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-pysc1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/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.858h9mmn:/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.858h9mmn:/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', 'aed26137d2184dcd8d995ead005865eb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.858h9mmn:/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-pysc1.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=1646352000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jWiF2m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysc1-0.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pysc1-0.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pysc1-0.0.4 + /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.EuVh1u + umask 022 + cd /builddir/build/BUILD + cd pysc1-0.0.4 + 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=py310 + 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 not satisfied: setuptools >= 40.8 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-pysc1-0.0.4-1.fc37.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-pysc1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/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.858h9mmn:/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.858h9mmn:/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', '15b6c17db7594ee1b19c9e789bf472f0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.858h9mmn:/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-pysc1.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=1646352000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SHQOnn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysc1-0.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pysc1-0.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pysc1-0.0.4 + /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.6TLVSK + umask 022 + cd /builddir/build/BUILD + cd pysc1-0.0.4 + 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=py310 + 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 59.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib64/python3.10/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) HOOK STDOUT: running egg_info HOOK STDOUT: writing pysc1.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pysc1.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pysc1.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'pysc1.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing pysc1.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pysc1.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pysc1.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pysc1-0.0.4/pysc1.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-pysc1-0.0.4-1.fc37.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-pysc1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/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.858h9mmn:/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.858h9mmn:/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', '7485e2ec00db46ff91a8b7ff79aeb55b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1646585699.144425/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.858h9mmn:/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-pysc1.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=1646352000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jCu4fM + umask 022 + cd /builddir/build/BUILD + cd pysc1-0.0.4 + 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 pysc1.dist-info/ removed 'pysc1.dist-info/METADATA' removed 'pysc1.dist-info/top_level.txt' removed directory 'pysc1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + 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 59.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib64/python3.10/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) HOOK STDOUT: running egg_info HOOK STDOUT: creating pysc1.egg-info HOOK STDOUT: writing pysc1.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pysc1.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pysc1.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'pysc1.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing pysc1.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to pysc1.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to pysc1.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: writing manifest file 'pysc1.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/pysc1-0.0.4/pysc1.dist-info' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kExUMS + umask 022 + cd /builddir/build/BUILD + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pysc1-0.0.4/.package_note-python-pysc1-0.0.4-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-pysc1 0.0.4-1.fc37 x86_64 + cd pysc1-0.0.4 + mkdir -p /builddir/build/BUILD/pysc1-0.0.4/.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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pysc1-0.0.4/.package_note-python-pysc1-0.0.4-1.fc37.x86_64.ld' + TMPDIR=/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/pysc1-0.0.4/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/pysc1-0.0.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib64/python3.10/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) /usr/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running dist_info creating /builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info writing /builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/SOURCES.txt' writing manifest file '/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-modern-metadata-x4y3ivqs/pysc1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pysc1 Building wheel for pysc1 (pyproject.toml): started Running command Building wheel for pysc1 (pyproject.toml) /usr/lib64/python3.10/distutils/dist.py:259: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) /usr/lib/python3.10/site-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pysc1 copying pysc1/__init__.py -> build/lib/pysc1 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/pysc1 copying build/lib/pysc1/__init__.py -> build/bdist.linux-x86_64/wheel/pysc1 running install_egg_info running egg_info creating pysc1.egg-info writing pysc1.egg-info/PKG-INFO writing dependency_links to pysc1.egg-info/dependency_links.txt writing top-level names to pysc1.egg-info/top_level.txt writing manifest file 'pysc1.egg-info/SOURCES.txt' reading manifest file 'pysc1.egg-info/SOURCES.txt' writing manifest file 'pysc1.egg-info/SOURCES.txt' Copying pysc1.egg-info to build/bdist.linux-x86_64/wheel/pysc1-0.0.4-py3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pysc1-0.0.4.dist-info/WHEEL creating '/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir/pip-wheel-sfajol7w/tmp5bkfhiz7/pysc1-0.0.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pysc1/__init__.py' adding 'pysc1-0.0.4.dist-info/METADATA' adding 'pysc1-0.0.4.dist-info/WHEEL' adding 'pysc1-0.0.4.dist-info/top_level.txt' adding 'pysc1-0.0.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pysc1 (pyproject.toml): finished with status 'done' Created wheel for pysc1: filename=pysc1-0.0.4-py3-none-any.whl size=3535 sha256=03ea7ef4fd78e64cf24767201fca1fc78fdf177db119fcac8e9d622912a87b49 Stored in directory: /builddir/.cache/pip/wheels/2a/0b/36/ad8c72768533d0707e664008bfbb23845a4e93ec9f34d16c8a Successfully built pysc1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L5K5XA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pysc1-0.0.4/.package_note-python-pysc1-0.0.4-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pysc1-0.0.4 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/pysc1-0.0.4/pyproject-wheeldir/pysc1-0.0.4-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pysc1==0.0.4 + TMPDIR=/builddir/build/BUILD/pysc1-0.0.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.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/pysc1-0.0.4/pyproject-wheeldir pysc1==0.0.4 Using pip 22.0.3 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/pysc1-0.0.4/pyproject-wheeldir Processing ./pyproject-wheeldir/pysc1-0.0.4-py3-none-any.whl Installing collected packages: pysc1 Successfully installed pysc1-0.0.4 + '[' -d /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/pysc1-0.0.4.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.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-pysc1-0.0.4-1.fc37.x86_64 --record /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages/pysc1-0.0.4.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-pysc1-0.0.4-1.fc37.x86_64 --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr '*' +auto + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.0.4-1.fc37 --unique-debug-suffix -0.0.4-1.fc37.x86_64 --unique-debug-src-base python-pysc1-0.0.4-1.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pysc1-0.0.4 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RtGGlm + umask 022 + cd /builddir/build/BUILD + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/pysc1-0.0.4/.package_note-python-pysc1-0.0.4-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-pysc1 0.0.4-1.fc37 x86_64 + cd pysc1-0.0.4 + '[' '!' -f /builddir/build/BUILD/pyproject-modules ']' + PATH=/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/site-packages + _PYTHONSITE=/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64/usr/lib/python3.10/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: pysc1 ============================================ pysc1 : The StarCraft I Learning Environment ============================================ This package is currently in enthusiastic development. Just wait a sec. Meanwhile, refer to https://github.com/bboyseiok/pysc1-gym for now. Thank you. # Pysc1-gym Installing and managing Starcraft I learning environment can be tedious and full of errors. Here, I present to you packaged way of running a nice Starcraft I gym simulation in your laptop or some clusters. I was using Windows 10 while making this work, so the instructions are made in reference to the Windows system. ### "OpenAI Gym" like code for Starcraft I After the Environment is set, you can access the features of Starcraft I just like in OpenAI Gym: ```python env = sc.SingleBattleEnv(args.ip, args.port) env.seed(777) agent = RandomAgent(env.action_space) episodes = 0 while episodes < 100: obs = env._reset() done = False while not done: action = agent.act() obs, reward, done, info = env._step(action) episodes += 1 env.close() ``` ## prerequisites * OpenAI Gym * Starcraft 1.1.16 * BWAPI 4.1.2 * TorchCraft 1.0.2 * TorchCraft-py * Gym-TorchCraft Because of the dependencies here, Python 2.7 is used. In the future, support for Python 3.6+ would be added. * Python 2.7 I recommend using `conda create -n "pysc1-gym" python=2.7` to manage separate packages. Get the TorchCraft 1.0-2 from [here](https://github.com/TorchCraft/TorchCraft/releases) check to prerequisites again. For start, `git clone https://github.com/openai/gym` and `cd gym` and `pip install -e .` for minimal install of gym. ## Installation (Windows 10 with Anaconda) The installation process is long, but it should be lot shorter than doing this from scratch. So relax and slowly follow the steps. Take a deep breath... 0. `activate pysc1-gym` to activate the environment. 1. Check your Starcraft Installation. The directory is called `$STARCRAFT`. 2. run `pysc1-gym/bwapi/BWAPI_412_Setup.exe` and install on `$BWAPI` directory and run `$BWAPI/Chaoslauncher/Chaoslauncher.exe` that is inside the BWAPI installation location. 3. From Settings in `Chaoslauncher`, choose the path to the Starcraft installation directory `$STARCRAFT`. 3.1. Full Installation 3.2. The Abyss (ICCUP) and Games Podolsk are optional 4. copy files in `pysc1-gym/torchcraft/*.dll` to `$STARCRAFT` directory. 5. copy files in `pysc1-gym/config/*.ini` to `$STARCRAFT/bwapi-data` directory 6. run `pysc1-gym/install.bat` (while still inside the `pysc1-gym` environment). This will install custom dependencies `torchcraft-py` and `gym-starcraft`. (Check if no existing installations are there in the pysc1-gym env.) This will take some time installing the dependencies. *wait patiently... have a coffee.* 7. copy contents of `pysc1-gym/maps/` to `$STARCRAFT/maps/`. 8. run Chaoslauncher with `BWAPI 4.1.2 injector [RELEASE]` and `W-mode 1.02` checked. The Starcraft window will open in waiting mode. *Don't panic if the window is not responsive. It's supposed to be that way!* 9. cd `pysc1-gym/examples` (while still inside the `pysc1-gym` environment) and run `python random_agent.py --ip=localhost --port=11111` 10. The agent will run ## Custom Maps for Reinforcement Learning Custom maps I created for diverse RL environments. ### BroodWar/Micros * bc12v12_c_far.scx 12 Battlecruisers against each other * m24v24_c_far_mod.scx 24 Marines against each other * zt12v12_j_far.scm 11 Zealots and a High Templar against each other ## TODO * support python 3.6+ * more easy installation. ============================================ pysc1 : The StarCraft I Learning Environment ============================================ This package is currently in enthusiastic development. Just wait a sec. Meanwhile, refer to https://github.com/bboyseiok/pysc1-gym for now. Thank you. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pysc1-0.0.4-1.fc37.noarch Provides: python-pysc1 = 0.0.4-1.fc37 python3-pysc1 = 0.0.4-1.fc37 python3.10-pysc1 = 0.0.4-1.fc37 python3.10dist(pysc1) = 0.0.4 python3dist(pysc1) = 0.0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 Wrote: /builddir/build/SRPMS/python-pysc1-0.0.4-1.fc37.src.rpm Wrote: /builddir/build/RPMS/python3-pysc1-0.0.4-1.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FRg3qb + umask 022 + cd /builddir/build/BUILD + cd pysc1-0.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pysc1-0.0.4-1.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0