Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyrex is no longer at pypi #24

Open
koutoftimer opened this issue Sep 8, 2021 · 0 comments
Open

Pyrex is no longer at pypi #24

koutoftimer opened this issue Sep 8, 2021 · 0 comments

Comments

@koutoftimer
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant