nixpkgs/pkgs/development/interpreters/python/catch_conflicts
Johannes Bornhold 249b34aadc
python: Move catch_conflicts.py into subdirectory (#23600)
Python does add the script's directory into "sys.path". For the case of
"catch_conflicts.py" this means "/nix/store" is added to "sys.path". This can
result in very long delays if the store contains a lot of entries.

(moved from master commit 76213d102c)
2017-04-01 12:22:36 +02:00
..
catch_conflicts.py python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00
README.md python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00

catch_conflicts.py

The file catch_conflicts.py is in a subdirectory because, if it isn't, the /nix/store/ directory is added to sys.path causing a delay when building.

Pointers: