Hi Michal,

On Tue, Nov 19, 2013 at 11:21 AM, Michal Vyskocil <[email protected]> wrote:
> I found pypy's behavior of pypy setup.py install --prefix=/usr quite
> surprising as it installs all files to /usr/site-packages, which is not
> the most expected location.

Indeed, that should maybe be worked around.  However:

> which does not makes a sense to me as /usr/site-packages is not in
> default sys.path

We don't have a default install location.  It's a bit like complaining
that on CPython, if you use "python setup.py install
--prefix=/foo/bar" you end up with things in
"/foo/bar/.../site-packages", which is indeed not in sys.path.  The
paths you see, "/usr/lib64/pypy-2.2", are choosen by your
distribution, and they make sense there, but the recommended path to
install the distribution-independent release is usually
"/opt/pypy-2.2".

Do you have a suggestion about how "--prefix=/usr" would end up
meaning "/usr/lib64/pypy-2.2"?  More importantly, why do you need to
specify any "--prefix" at all?


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to