nixpkgs/pkgs/development/interpreters
Frederik Rietdijk f7e28bf5d8 Split buildPythonPackage into setup hooks
This commit splits the `buildPythonPackage` into multiple setup hooks.

Generally, Python packages are built from source to wheels using `setuptools`.
The wheels are then installed with `pip`. Tests were often called with
`python setup.py test` but this is less common nowadays. Most projects
now use a different entry point for running tests, typically `pytest`
or `nosetests`.

Since the wheel format was introduced more tools were built to generate these,
e.g. `flit`. Since PEP 517 is provisionally accepted, defining a build-system
independent format (`pyproject.toml`), `pip` can now use that format to
execute the correct build-system.

In the past I've added support for PEP 517 (`pyproject`) to the Python
builder, resulting in a now rather large builder. Furthermore, it was not possible
to reuse components elsewhere. Therefore, the builder is now split into multiple
setup hooks.

The `setuptoolsCheckHook` is included now by default but in time it should
be removed from `buildPythonPackage` to make it easier to use another hook
(curently one has to pass in `dontUseSetuptoolsCheck`).
2019-09-06 15:18:45 +02:00
..
acl2 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
angelscript angelscript: 2.32.0 -> 2.33.0 2019-01-03 20:54:24 -08:00
bats treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ceptre treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
chibi chibi: 0.7.3 -> 0.8 2018-07-18 15:56:04 -07:00
clips treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
clisp clisp: Add license 2019-04-09 13:23:55 +02:00
clojure Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
clojurescript/lumo treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
dart treewide: name -> pname 2019-08-17 10:54:38 +00:00
dhall dhall: passthru dhall prelude 2018-02-26 15:21:46 +01:00
duktape treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
eff treewide: name -> pname 2019-08-17 10:54:38 +00:00
elixir treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
erlang treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
evcxr evcxr: 0.4.3 -> 0.4.4 2019-08-29 01:51:25 +02:00
falcon treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
gauche treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
gnu-apl treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
groovy Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
gtk-server gtk-server: link with libdl explicitly 2019-01-04 21:44:19 +00:00
guile guile: 2.2.4 -> 2.2.6 2019-07-15 09:05:36 -07:00
hugs Revert "hugs: broken on clang" 2018-12-02 16:46:31 -05:00
hy hy: 0.16.0 -> 0.17.0 2019-07-04 04:09:28 -06:00
icon-lang treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
io
j treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
janet janet: 1.1.0 -> 1.2.0 2019-08-19 06:37:04 -07:00
jimtcl treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
joker joker: 0.12.4 -> 0.12.7 2019-09-03 04:50:02 -03:00
jruby Merge branch 'master' into staging-next 2019-08-24 08:55:37 +02:00
jython treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
kona treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
lfe
lolcode treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
love treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
lua-5 lua*Packages: Consolidate separate setup hooks together 2019-09-01 17:42:20 +02:00
luajit treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
lush treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
maude treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
metamath treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
mujs treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
nix-exec treewide: name -> pname 2019-08-17 10:54:38 +00:00
octave treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
perl perldevel: 5.30.0 -> 5.31.2 2019-08-06 09:39:29 +00:00
php php: disable mhash 2019-08-21 20:37:06 +03:00
picoc treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
picolisp treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
pixie treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
proglodyte-wasm v8: 5.4.232 -> 7.4.255 2019-04-11 00:25:12 -04:00
pure pure: link with libLLVMJIT explicitly 2019-01-04 21:44:21 +00:00
pyrex treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
python Split buildPythonPackage into setup hooks 2019-09-06 15:18:45 +02:00
qnial treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
racket treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
rakudo treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
rascal treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
rebol treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
red treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
regina treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
renpy treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
ruby Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
scheme48 scheme48: add license 2018-08-04 18:53:53 +02:00
scsh treewide: Make more complicated configureFlags lists 2018-08-03 17:06:03 -04:00
self treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
spidermonkey treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
supercollider supercollider: 3.10.2 -> 3.10.3 2019-09-03 04:20:00 -05:00
tcl treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
tinyscheme treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
unicon-lang treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
wasm-gc treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
wasmtime treewide: remove redundant rec 2019-08-28 11:07:32 +00:00