-
Notifications
You must be signed in to change notification settings - Fork 45
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
setup.py: use absolute paths for pth files #99
base: master
Are you sure you want to change the base?
Conversation
On some systems (such as PyPy3 on Gentoo), distutils' `data` path is not `sys.prefix`, which means that we cannot rely on relative paths.
1 similar comment
It looks like older versions of Python should be removed from Travis. |
Can you elaborate on this? |
Hey @blueyed, I don't really know why |
The situation isn't perfect. PyPy is currently designed to rely on While changing this would be possible (and is a worthwhile goal), it requires modifying a lot of PyPy internals (that rely on paths being relative to the executable's realpath). I'm not aware of anyone who has managed that so far. Instead, we do the second best thing possible, i.e. modify distutils to get a correct path set. This means that effectively distutils install paths become disjoint from |
Hi,
On some systems (such as PyPy3 on Gentoo), distutils'
data
path is notsys.prefix
, which means that we cannot rely on relative paths.