Commit Graph

12 Commits

Author SHA1 Message Date
Frederik Rietdijk
210a10bd66 python: py: 1.8.1 -> 1.8.2 2020-08-04 21:54:52 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
3a7d95c2af python: py: 1.8.0 -> 1.8.1 2019-12-30 16:46:54 +01: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
Jonathan Ringer
d06cc8a6ae pythonPackages.py: 1.7.0 -> 1.8.0 2019-08-18 11:48:39 +02:00
Daniel Schaefer
92cccb6f83 treewide: Use HTTPS for readthedocs URLs 2019-04-22 20:46:18 +02:00
Frederik Rietdijk
950929ca46 python: py: 1.5.4 -> 1.7.0 2018-10-24 20:05:44 +02:00
Frederik Rietdijk
f667b56d36 python: py: 1.5.3 -> 1.5.4 2018-07-26 12:43:04 +02:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Frederik Rietdijk
597af7df9b python: py: 1.5.2 -> 1.5.3 2018-04-08 11:34:55 +02:00
Frederik Rietdijk
358bebafb9 python: py: 1.4.34 -> 1.5.2 2017-12-31 10:55:11 +01:00
Lancelot SIX
d2b5850ad0 pythonPackages.py: 1.4.31 -> 1.4.34 2017-08-25 19:36:15 +02:00