about summary refs log tree commit diff
path: root/corepkgs/buildenv.pl
diff options
context:
space:
mode:
authorFlorian Friesdorf <flo@chaoflow.net>2012-02-20T03·09+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-07-23T18·13+0200
commit7cf539c728b8f2a4478c0384d3174842e1e0cced (patch)
tree4b88699446d5434c8f891e83e4301894e8aeee0d /corepkgs/buildenv.pl
parent7b09e9f2c49aba7ced0e7fbac3994f6686b6a303 (diff)
buildenv: remove special treatment of python files
buildPythonPackage does not leave easy_install.pth and site.py
anymore. A python package that leaves these files is broken. An
exception to this is setuptoolsSite which packages setuptools'
site.py. To include it into a buildenv, this patch is even needed, not
just cosmetic.
Diffstat (limited to 'corepkgs/buildenv.pl')
-rw-r--r--corepkgs/buildenv.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/corepkgs/buildenv.pl b/corepkgs/buildenv.pl
index fd564e0275bc..1ab19d26f23c 100644
--- a/corepkgs/buildenv.pl
+++ b/corepkgs/buildenv.pl
@@ -36,9 +36,6 @@ sub createLinks {
         if ($srcFile =~ /\/propagated-build-inputs$/ ||
             $srcFile =~ /\/nix-support$/ ||
             $srcFile =~ /\/perllocal.pod$/ ||
-            $srcFile =~ /\/easy-install.pth$/ ||
-            $srcFile =~ /\/site.py$/ ||
-            $srcFile =~ /\/site.pyc$/ ||
             $srcFile =~ /\/info\/dir$/ ||
             $srcFile =~ /\/log$/)
         {