3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
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
..
doc-support treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
functions ociTools: init 2019-09-04 22:46:42 +00:00
languages-frameworks Split buildPythonPackage into setup hooks 2019-09-06 15:18:45 +02:00
old reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
.gitignore doc: format the documentation (#57102) 2019-03-08 21:07:11 -08:00
coding-conventions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
configuration.xml doc: format the documentation (#57102) 2019-03-08 21:07:11 -08:00
contributing.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
cross-compilation.xml manual: Fix typos 2019-03-25 17:50:13 -04:00
default.nix doc: move parameters to an XML file 2019-07-04 09:16:06 -04:00
functions.xml ociTools: init 2019-09-04 22:46:42 +00:00
introduction.chapter.md
Makefile doc: move parameters to an XML file 2019-07-04 09:16:06 -04:00
manual.xml [RFC] manual: rename to users and contributors manual, add some user notes … (#60682) 2019-05-22 13:55:00 +00:00
meta.xml Merge pull request #63351 from Ekleog/fix-2532 2019-06-18 20:09:08 +02:00
multiple-output.xml Merge pull request #36886 from veprbl/symlinkJoin_doc 2019-03-30 22:01:01 -04:00
overlays.xml doc: typo fixes 2018-11-19 13:02:17 -06:00
overrides.css
package-notes.xml kakoune: support for adding plugins 2019-06-25 17:17:08 -04:00
package-specific-user-notes.xml emacsPackages: Drop old emacsPackages (non-NG) sets 2019-08-30 16:43:16 +01:00
platform-notes.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
quick-start.xml doc: Replace google groups reference with Discourse Patch category 2019-08-17 12:43:30 +02:00
release-notes.xml nixpkgs docs: give linked things IDs 2018-09-01 15:20:57 -04:00
reviewing-contributions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
shell.nix Generate links to function definitions 2018-10-05 11:20:46 -04:00
stdenv.xml installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00
style.css manual: limit text width 2019-01-08 15:08:42 +00:00
submitting-changes.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00