Skip to content

Commit

Permalink
buildenv: remove special treatment of python files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chaoflow authored and edolstra committed Jul 23, 2013
1 parent 7b09e9f commit 7cf539c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions corepkgs/buildenv.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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$/)
{
Expand Down

0 comments on commit 7cf539c

Please sign in to comment.