MysticMine
MysticMine copied to clipboard
Pyrex is no longer at pypi
According to https://pypi.org/project/Pyrex/ and https://pip.pypa.io/en/latest/development/release-process/#python-2-support looks like pyrex can not be found on pypi anymore.
Workaround using wget
Copy/paste in your terminal.
cd /tmp && \
wget "https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/Pyrex-0.9.9.tar.gz" && \
tar xvpf Pyrex-0.9.9.tar.gz
git clone https://github.com/dewitters/MysticMine.git && \
cd MysticMine && \
virtualenv -p 2.7 venv && \
source ./venv/bin/activate && \
python -m pip install pygame numpy && \
pushd ../Pyrex-0.9.9 && \
python setup.py build && \
python setup.py install && \
popd && \
make && \
./MysticMine
Step by step description:
- go to /tmp directory
- download Pyrex-0.9.9.tar.gz
- extract Pyrex-0.9.9.tar.gz
- clone MysticMine
- go to /tmp/MysticMine directory
- create virtual environment for python2.7
- activate virtual environment
- install pygame and numpy
- go to /tmp/Pyrex directory
- build Pyrex
- install Pyrex in virtual environment
- go to /tmp/MysticMine directory
- launching game according to
README.md
Warning: /tmp
gets cleaned up after system shutdown/reboot, copy /tmp/MysticMine
to /opt
or ~/Games
or somewhere else.
System info
Required tools: python2
, virtualenv
, wget
, git
. Consult your distribution about how to install them.
user $ python --version
Python 2.7.18
user $ python -m pip --version
pip 20.3.4 from /tmp/MysticMine/venv/lib64/python2.7/site-packages/pip (python 2.7
user $ virtualenv --version
virtualenv 20.4.7 from /usr/lib/python3.9/site-packages/virtualenv/__init__.py
user $ wget --version
GNU Wget 1.21.1 built on linux-gnu.
-cares +digest -gpgme +https +ipv6 -iri +large-file -metalink +nls
-ntlm +opie -psl +ssl/openssl
user $ git --version
git version 2.32.0