use recursivePthLoader instead of setuptoolsSite

This commit is contained in:
Florian Friesdorf 2012-12-14 20:21:18 +01:00
parent 45635e9e0f
commit 886742d91a
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
(http://pypi.python.org/pypi/setuptools/), which represents a large
number of Python packages nowadays. */
{ python, setuptools, wrapPython, lib, offlineDistutils, setuptoolsSite }:
{ python, setuptools, wrapPython, lib, offlineDistutils, recursivePthLoader }:
{ name, namePrefix ? "python-"
@ -51,8 +51,8 @@ python.stdenv.mkDerivation (attrs // {
buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath;
# setuptoolsSite is responsible for loading pth files
propagatedBuildInputs = propagatedBuildInputs ++ [ setuptoolsSite ];
# recursivePthLoader is responsible for loading pth files
propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader ];
buildInputStrings = map toString buildInputs;

View File

@ -9,7 +9,7 @@ let pythonPackages = python.modules // rec {
buildPythonPackage = import ../development/python-modules/generic {
inherit (pkgs) lib;
inherit python wrapPython setuptools setuptoolsSite offlineDistutils;
inherit python wrapPython setuptools recursivePthLoader offlineDistutils;
};