nixpkgs/pkgs/top-level
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
..
aliases.nix weechatScripts.weechat-xmpp: remove 2019-09-05 20:03:46 +02:00
all-packages.nix Merge branch 'master' into staging-next 2019-09-06 03:20:09 +02:00
beam-packages.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
config.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
coq-packages.nix coq: make version 8.9 the default one 2019-08-21 12:07:38 +00:00
darwin-packages.nix darwin-frameworks: replace cf-private and move it's setup-hook 2019-07-03 22:20:09 +02:00
default.nix systems: allow passing in string for cross/localSystem 2019-06-04 11:17:25 -04:00
dotnet-packages.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
emacs-packages.nix emacs-packages: Make org packages overrideable 2019-08-18 11:10:06 +01:00
emscripten-packages.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
haskell-packages.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
haxe-packages.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
impure.nix systems: allow passing in string for cross/localSystem 2019-06-04 11:17:25 -04:00
java-packages.nix
lua-packages.nix lua*Packages: Consolidate separate setup hooks together 2019-09-01 17:42:20 +02:00
make-tarball.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
metrics.nix metrics: don’t output nix output for qaDrv* 2019-06-07 15:52:10 -04:00
ocaml-packages.nix ocamlPackages.ocplib-json-typed: 0.5 -> 0.7.1 2019-09-03 05:31:11 +00:00
perl-packages.nix tree-wide: s/GTK+/GTK/g 2019-09-06 02:54:53 +02:00
php-packages.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
pure-packages.nix
python-packages.nix Split buildPythonPackage into setup hooks 2019-09-06 15:18:45 +02:00
release-cross.nix Merge branch 'staging' into release-cross-fixes 2019-05-18 14:57:53 -05:00
release-lib.nix systems/examples.nix: move riscv function to let binding 2018-11-29 19:15:28 -06:00
release-python.nix
release-small.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
release.nix Merge branch 'master' into staging-next 2019-09-06 03:20:09 +02:00
ruby-packages.nix ruby.withPackages: init 2019-09-03 19:44:49 +00:00
splice.nix top-level: Create pkgs{Build,Host,Target}{Build,Host,Target} 2019-03-24 22:12:15 -04:00
stage.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
static.nix Merge pull request #65537 from Holo-Host/201907/extend-static 2019-08-13 12:47:03 -04:00
unix-tools.nix unix-tools: default when no provider exists 2019-06-04 22:45:11 -04:00
wine-packages.nix winePackages.fonts: init at 4.0 2019-06-12 23:33:18 +02:00