include site for python wrappers to enable deps via pth files
svn path=/nixpkgs/branches/stdenv-updates/; revision=32582
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
(http://pypi.python.org/pypi/setuptools/), which represents a large
|
||||
number of Python packages nowadays. */
|
||||
|
||||
{ python, setuptools, wrapPython, lib }:
|
||||
{ python, setuptools, wrapPython, lib, site }:
|
||||
|
||||
{ name, namePrefix ? "python-"
|
||||
|
||||
@@ -69,7 +69,8 @@ python.stdenv.mkDerivation (attrs // {
|
||||
|
||||
buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
|
||||
|
||||
pythonPath = [ setuptools] ++ pythonPath;
|
||||
# XXX: I think setuptools is not needed here
|
||||
pythonPath = [ setuptools site ] ++ pythonPath;
|
||||
|
||||
# XXX: Should we run `easy_install --always-unzip'? It doesn't seem
|
||||
# to have a noticeable impact on small scripts.
|
||||
|
||||
Reference in New Issue
Block a user