nixpkgs-suyu/pkgs/development/interpreters/python
Frederik Rietdijk 46409b5c32 Python: add sitecustomize.py, listen to NIX_PYTHONPATH
This commit adds a Nix-specific module that recursively adds paths that
are on `NIX_PYTHONPATH` to `sys.path`. In order to process possible
`.pth` files `site.addsitedir` is used.

The paths listed in `PYTHONPATH` are added to `sys.path` afterwards, but
they will be added before the entries we add here and thus take
precedence.

The reason for adding support for this environment variable is that we
can set it in a wrapper without breaking support for `PYTHONPATH`.
2019-07-13 09:37:33 +02:00
..
catch_conflicts
cpython Python: add sitecustomize.py, listen to NIX_PYTHONPATH 2019-07-13 09:37:33 +02:00
pypy Python: add sitecustomize.py, listen to NIX_PYTHONPATH 2019-07-13 09:37:33 +02:00
update-python-libraries buildPython*: add updateScript to passthru 2018-12-07 15:48:54 +01:00
build-python-package-common.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
build-python-package-flit.nix buildPythonPackage: fix building with flit 2019-03-06 13:42:46 +01:00
build-python-package-pyproject.nix buildPythonPackage: initial support for PEP 517 2019-02-23 20:05:19 +01:00
build-python-package-setuptools.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
build-python-package-wheel.nix
build-python-package.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
default.nix Merge staging-next into staging 2019-07-09 15:46:26 +02:00
mk-python-derivation.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
run_setup.py
setup-hook.nix
setup-hook.sh python: make it possible to disable the python setup-hook 2019-04-28 09:20:41 +02:00
sitecustomize.py Python: add sitecustomize.py, listen to NIX_PYTHONPATH 2019-07-13 09:37:33 +02:00
with-packages.nix
wrap-python.nix Python: improve cross-compilation 2019-01-04 10:45:22 +01:00
wrap.sh Add flag to disable PYTHONNOUSERSITE for wrapped binaries in python environments 2019-05-13 02:56:56 -07:00
wrapper.nix Add flag to disable PYTHONNOUSERSITE for wrapped binaries in python environments 2019-05-13 02:56:56 -07:00