summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-05-22 11:01:00 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-07-13 09:37:33 +0200
commit46409b5c32da64d06ec465d7cb0b2b6a1e1ad246 (patch)
tree6c4516bd53d8012912546d1526c50d6db23e5821 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent02afb228e2ada0a251a82c9437e2227890baacf4 (diff)
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`.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions