Python: separate buildPythonPackage into two functions

1. mkDerivation which is used when the source is without setup.py and
not a wheel
2. buildPythonPackage which is used as before and calls mkDerivation
This commit is contained in:
Frederik Rietdijk
2016-08-17 14:23:47 +02:00
parent 725c37b4d3
commit 3e05cce97c
4 changed files with 109 additions and 67 deletions

View File

@@ -481,7 +481,7 @@ and the aliases
#### `buildPythonPackage` function
The `buildPythonPackage` function is implemented in
`pkgs/development/interpreters/python/buildpythonpackage.nix`
`pkgs/development/interpreters/python/build-python-package.nix`
and can be used as: