implements pep582(adds __pypackages__ to PYTHONPATH) via patching site.py
Project description
pep582
implements pep582(adds __pypackages__ to PYTHONPATH) via patching site.py
https://www.python.org/dev/peps/pep-0582/
there are 2 other ways - patched interpreter from pep and https://pypi.org/project/pythonloc/
pythonloc requires using pythonloc instad of python command. and patched interpeter is generally hard it’s more of POC.
my module allows to use your regular python binary.
to patch site.py run python -m pep582.patch
if you create __pypackages__ directorry inside your projects:
“pip install” would install there by default
to install elsewhere use -t/–target
modules would me imported from there first
Free software: MIT license
Documentation: https://pep582.readthedocs.io.
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-01-23)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.