New issue 2194: pypy does not include any ~/.local/lib/* directory in sys.path
https://bitbucket.org/pypy/pypy/issues/2194/pypy-does-not-include-any-local-lib

Ivan Kozik:

I installed pypy 4.0.1 from https://launchpad.net/~pypy/+archive/ubuntu/ppa 
(tested both Ubuntu 14.04 and 15.10) and pypy did not include any 
`~/.local/lib/*` directory in `sys.path`:

```
# pypy
Python 2.7.10 (4.0.1+dfsg-1~ppa1~ubuntu15.04, Nov 20 2015, 19:34:27)
[PyPy 4.0.1 with GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>> import sys
>>>> sys.path
['', '/usr/lib/pypy/lib_pypy/__extensions__', '/usr/lib/pypy/lib_pypy', 
'/usr/lib/pypy/lib-python/2.7', '/usr/lib/pypy/lib-python/2.7/lib-tk', 
'/usr/lib/pypy/lib-python/2.7/plat-linux2', 
'/usr/local/lib/pypy2.7/dist-packages', '/usr/lib/pypy/dist-packages']
```

This is not really what I expected, because I'm used to being able to install 
modules scoped to a user account, without a virtualenv.

Compare with cpython, which includes `$HOME/.local/lib/python2.7/site-packages`.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to