-
Notifications
You must be signed in to change notification settings - Fork 1.3k
site-packages path to pythonx.y or rustpythonx.y? #4925
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
Comments
#2. pypy adds site-packages to Lib/pypy3.8 'posix_prefix': {
'stdlib': '{installed_base}/lib/{implementation_lower}{py_version_short}',
'platstdlib': '{platbase}/lib/{implementation_lower}{py_version_short}',
'purelib': '{base}/lib/{implementation_lower}{py_version_short}/site-packages',
'platlib': '{platbase}/lib/{implementation_lower}{py_version_short}/site-packages',
'include':
'{installed_base}/include/{implementation_lower}{py_version_short}{abiflags}',
'platinclude':
'{installed_platbase}/include/{implementation_lower}{py_version_short}{abiflags}',
'scripts': '{base}/bin',
'data': '{base}',
} where def _get_implementation():
if sys.implementation.name == 'pypy':
return 'PyPy'
return 'Python' For #1 I prefer having rustpython as it minimizes any confusion (where my site-packages are) but it does add diffs in #3. |
Couldn't check Jython for venv site packages as it doesn't support python3 (yet!) and IronPython needs .NET framework (need to figure out how to emulate this on linux) |
Thank you! Practically graalpython will be the last part, but I think checking pypy was enough. Maybe filing a patch from pypy to CPython and taking it from RustPython will be a way - if CPython accepts it. |
I am a bit confused. The file looks under https://foss.heptapod.net/pypy/pypy/-/blob/branch/default/lib-python/2.7/sysconfig.py |
Opened an issue in cpython |
I think this is for pypy 2.7, I don't see venv module anywhere in above source tree. Source tarball which I have does have venv module |
CPython issue: python/cpython#103708 |
The fix is merged! @itsankitkp Thank you! |
Uh oh!
There was an error while loading. Please reload this page.
questions
Lib/sysconfig.py
?recent changes: #4924
The text was updated successfully, but these errors were encountered: