nixpkgs-suyu/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
.gitignore
coding-conventions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
configuration.xml
contributing.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
cross-compilation.xml
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
overlays.xml
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
reviewing-contributions.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
shell.nix
stdenv.xml installShellFiles: init (#65211) 2019-09-04 23:19:17 +02:00
style.css
submitting-changes.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00