-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
gh-103708: Make directory layout in sysconfig implementation configurable #103709
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
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
c70a8ba
to
38b7aea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a future step, the value could maybe be based on sys.implementation
.
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
|
||
if sys.platform == 'darwin' and sys._framework: | ||
return f'{userbase}/lib/python/site-packages' | ||
return f'{userbase}/lib/{implementation_lower}/site-packages' | ||
|
||
return f'{userbase}/lib/python{version[0]}.{version[1]}/site-packages' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this value? Is this intended to be kept or missed?
Changes made are limited to sysconfig and sites module.
Only made hard-coded values configurable, not added anything or removed