buildPythonPackage: use pip for development also

This commit is contained in:
Domen Kožar 2015-11-21 22:17:04 +01:00
parent 2e605199a7
commit 90f97c125d

View File

@ -116,7 +116,7 @@ python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
tmp_path=$(mktemp -d)
export PATH="$tmp_path/bin:$PATH"
export PYTHONPATH="$tmp_path/${python.sitePackages}:$PYTHONPATH"
${python.interpreter} setup.py develop --prefix $tmp_path
${bootstrapped-pip}/bin/pip install -e . --prefix $tmp_path
fi
${postShellHook}
'';