use offline-disutils in buildPythonPackage
This commit is contained in:
10
pkgs/development/python-modules/generic/builder.sh
Normal file
10
pkgs/development/python-modules/generic/builder.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
source $stdenv/setup
|
||||
|
||||
# do not allow distutils to make downloads, whatever install command is used
|
||||
export PYTHONPATH="${setuptools}/lib/${python.libPrefix}:$PYTHONPATH"
|
||||
export PYTHONPATH="${offlineDistutils}/lib/${python.libPrefix}:$PYTHONPATH"
|
||||
|
||||
# enable pth files for dependencies
|
||||
export PYTHONPATH="${site}/lib/${python.libPrefix}/site-packages:$PYTHONPATH"
|
||||
|
||||
genericBuild
|
||||
Reference in New Issue
Block a user