Commit graph

10 commits

Author SHA1 Message Date
Frederik Rietdijk
afe67e5493 python.pkgs.pip: 19.1.1 -> 19.2.3 2019-09-06 15:18:45 +02:00
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
Frederik Rietdijk
592478be3a python: pip: 19.0.3 -> 19.1.1 2019-06-15 08:44:29 +02:00
Frederik Rietdijk
efdb9b322f python: pip: 19.0.2 -> 19.0.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
ff4d22adfc python: pip: 18.1 -> 19.0.2 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
474c78a3e5 python.pkgs.pip: 18.0 -> 18.1 2018-10-13 09:50:17 +02:00
Frederik Rietdijk
f0a0672040 python: pip: 10.0.1 -> 18.0 2018-07-22 16:52:48 +02:00
Frederik Rietdijk
e5f57757d0 python.pkgs.pip: 9.0.3 -> 10.0.1 2018-04-21 08:10:24 +02:00
Frederik Rietdijk
1ab32ba441 python: pip: 9.0.1 -> 9.0.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk
4421dbc217 python.pkgs.pip: move expression 2018-04-08 11:36:07 +02:00