[PyPy-issue] [issue614] Packaging PyPy: installation path for PyPy's libraries

Antonio Cuni pypy-dev-issue at codespeak.net
Thu Dec 23 10:32:41 CET 2010


Antonio Cuni <anto.cuni at gmail.com> added the comment:

Note that until some time ago, pypy did support the classic unix installation
scheme, so you could install it like this:
/usr/bin/pypy
/usr/lib/pypy1.4.1/lib-python/
...

However maintaining multiple installation schemes is a mess, because there are
too many places to keep in sync, including external tools like virtualenv, so it
was decided to support just the current installation scheme:
https://bitbucket.org/pypy/pypy/changeset/9ee66966dfb7

E.g., does virtualenv work with your patch?

What you could do instead is:
1) install pypy in /opt/pypy and put a symlink in /usr/bin pointing to
/opt/pypy/bin/pypy

2) alternatively, install pypy in /usr/lib/pypy and put a symlink in /usr/bin
pointing to /usr/lib/pypy/bin/pypy

Sidenote: you don't need a full translation to test this stuff: look e.g.
translator/goal/test2/test_app_main.py

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue614>
_______________________________________________________



More information about the Pypy-issue mailing list