From 7cf539c728b8f2a4478c0384d3174842e1e0cced Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Mon, 20 Feb 2012 04:09:46 +0100 Subject: [PATCH] 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. --- corepkgs/buildenv.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/corepkgs/buildenv.pl b/corepkgs/buildenv.pl index fd564e027..1ab19d26f 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$/) {