Revert "enable preConfigure for python packages again"
This reverts commit a513314290ba0d78400ea4902301f421e0fecdd2. svn path=/nixpkgs/branches/stdenv-updates/; revision=32642
This commit is contained in:
parent
762049e503
commit
013c915777
@ -17,8 +17,6 @@
|
|||||||
# pollute the user environment.
|
# pollute the user environment.
|
||||||
pythonPath ? []
|
pythonPath ? []
|
||||||
|
|
||||||
, preConfigure ? "true"
|
|
||||||
|
|
||||||
# distutils registers dependencies in .pth (good) but also creates
|
# distutils registers dependencies in .pth (good) but also creates
|
||||||
# console_scripts for dependencies in bin/ (bad). easy_install
|
# console_scripts for dependencies in bin/ (bad). easy_install
|
||||||
# creates no scripts for dependencies (good) but does not register
|
# creates no scripts for dependencies (good) but does not register
|
||||||
@ -86,7 +84,7 @@ python.stdenv.mkDerivation (attrs // {
|
|||||||
|
|
||||||
# enable pth files for dependencies
|
# enable pth files for dependencies
|
||||||
export PYTHONPATH="${site}/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
export PYTHONPATH="${site}/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
||||||
'' + preConfigure;
|
'';
|
||||||
|
|
||||||
# XXX: I think setuptools is not needed here
|
# XXX: I think setuptools is not needed here
|
||||||
pythonPath = [ setuptools site ] ++ pythonPath;
|
pythonPath = [ setuptools site ] ++ pythonPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user