2 ms·
Correct link to decision: https://discuss.python.org/t/pep-582-python-local-packages-directory/963/430 https://discuss.python.org/t/pep-582-python-local-package
by remram 4y ago
Correct link to decision: https://discuss.python.org/t/pep-582-python-local-packages-directory/963/430 https://discuss.python.org/t/pep-582-python-local-packages-d...
And for quick reference, the abstract:
> This PEP proposes extending the existing mechanism for setting up sys.path to include a new __pypackages__ directory, in addition to the existing locations. The new directory will be added at the start of sys.path, after the current working directory and just before the system site-packages, to give packages installed there priority over other locations.
> This is similar to the existing mechanism of adding the current directory (or the directory the script is located in), but by using a subdirectory, additional libraries are kept separate from the user’s work.
https://peps.python.org/pep-0582/ https://peps.python.org/pep-0582/
- samcat116 4y agoThanks, messed up the copy/paste somehow.