nixpkgs/doc/languages-frameworks
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
..
android.section.md manual/android: add Play Store to emulator example 2019-08-17 11:19:05 +02:00
beam.xml doc: Use prompt more often 2019-06-17 13:25:50 +02:00
bower.xml doc: ran make format 2018-05-31 21:03:37 -04:00
coq.xml doc: apply make format 2018-10-26 11:13:54 +01:00
crystal.section.md docs: Add Crystal language framework section 2019-08-26 20:12:15 +02:00
emscripten.section.md Move all nixpkgs doc files in to the doc directory 2018-03-25 19:52:00 -04:00
go.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
haskell.section.md Update haskell.section.md (#61685) 2019-05-18 16:01:49 -05:00
idris.section.md build-idris-package: add documentation on idris commands options 2019-08-06 09:11:37 +02:00
index.xml docs: Add Crystal language framework section 2019-08-26 20:12:15 +02:00
ios.section.md Add documentation for building iOS apps 2018-12-18 21:16:06 +01:00
java.xml doc: put Java software's build-time dependencies into nativeBuildInputs 2019-07-20 11:37:49 +02:00
lua.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
node.section.md doc/node: document the new preferred node version 2018-11-16 21:24:25 +00:00
ocaml.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
perl.xml add shortenPerlShebang function 2019-08-18 16:22:23 -07:00
python.section.md Split buildPythonPackage into setup hooks 2019-09-06 15:18:45 +02:00
qt.xml doc/qt: add note about wrapQtAppsHook ignoring scripts 2019-08-09 10:11:48 -04:00
r.section.md Move all nixpkgs doc files in to the doc directory 2018-03-25 19:52:00 -04:00
ruby.section.md ruby.withPackages: init 2019-09-03 19:44:49 +00:00
ruby.xml doc: document upgrading Ruby packages 2018-11-28 13:19:22 +00:00
rust.section.md doc: update nixpkgs-mozilla rev 2019-06-08 16:15:32 +02:00
texlive.xml doc: fix spurious whitespace 2019-06-17 12:28:26 +02:00
titanium.section.md Add Titanium documentation section 2018-12-18 21:16:07 +01:00
vim.section.md Cleanup formatting in Vim plugin docs 2019-07-14 17:13:34 -07:00