nixpkgs/pkgs/development/interpreters/python/pypy
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
..
default.nix Python: add sitecustomize.py, listen to NIX_PYTHONPATH 2019-07-13 09:37:33 +02:00
prebuilt.nix Python: add sitecustomize.py, listen to NIX_PYTHONPATH 2019-07-13 09:37:33 +02:00
tk_tcl_paths.patch pypy: merge 2.7 and 3.5 into a single expression 2019-01-04 10:45:22 +01:00