We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should replace sysconfig.get_paths() with something that can accurately describe the current reality.
sysconfig.get_paths()
The new API should:
scripts
stdlib
posix_user
https://discuss.python.org/t/building-extensions-modules-in-a-post-distutils-world/23938 https://discuss.python.org/t/pep-582-python-local-packages-directory/963/391 https://discuss.python.org/t/linux-distro-patches-to-sysconfig-are-changing-pip-install-prefix-outside-virtual-environments/18240/28 https://discuss.python.org/t/deprecating-the-headers-wheel-data-key/23712
New sysconfig API meta-issue: GH-103480
sysconfig
The text was updated successfully, but these errors were encountered:
Support optional paths (eg. not all schemes can provide a scripts directory)
Are there specific examples? What is the usecase for "optional" scheme paths?
Sorry, something went wrong.
PEP 582 would be a good example in a normal environment. See https://discuss.python.org/t/pep-582-python-local-packages-directory/963/391 for some of the discussion regarding it.
WASM would be a good example of a new type of environment where certain paths, like scripts or include, don't make sense (at the moment at least) 1.
include
PyScript, for eg., currently returns nonexistent paths in sysconfig.get_paths(). ↩
site
venv.EnvBuilder.ensure_directories
inc_path
No branches or pull requests
Feature or enhancement
We should replace
sysconfig.get_paths()
with something that can accurately describe the current reality.Pitch
The new API should:
scripts
directory)stdlib
for eg.)posix_user
should not be available on virtual environments)API design
Previous discussion
https://discuss.python.org/t/building-extensions-modules-in-a-post-distutils-world/23938
https://discuss.python.org/t/pep-582-python-local-packages-directory/963/391
https://discuss.python.org/t/linux-distro-patches-to-sysconfig-are-changing-pip-install-prefix-outside-virtual-environments/18240/28
https://discuss.python.org/t/deprecating-the-headers-wheel-data-key/23712
New
sysconfig
API meta-issue: GH-103480The text was updated successfully, but these errors were encountered: