1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

python: do not delete site.py for now as it breaks existing use cases

see #209, thx shlevy for reporting this
This commit is contained in:
Florian Friesdorf 2012-12-07 11:44:46 +01:00
parent c598df2645
commit 6278dabe5d

View file

@ -82,7 +82,9 @@ python.stdenv.mkDerivation (attrs // {
# Remove any site.py files generated by easy_install as these
# cause collisions. If pth files are to be processed a
# corresponding site.py needs to be included in the PYTHONPATH.
rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
#
# leave them until we have a better solution: see #209
#rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
${postInstall}
'';