Commit Graph

12 Commits

Author SHA1 Message Date
Frederik Rietdijk
ad74dd5cb1 pythonPackages.setuptools_scm: disable tests 2020-02-09 09:17:31 +01:00
Frederik Rietdijk
edd160e1d9 python: setuptools_scm: 3.3.3 -> 3.4.3 2020-02-09 09:17:31 +01:00
Peter Simons
efb354ef04 python-setuptools_scm: enable the test suite
It succeeds fine with both Python 2.x and 3.x.
2019-09-11 11:09:50 +02:00
Jonathan Ringer
a70aea12ca pythonPackages.setuptools_scm: 3.2.0 -> 3.3.3 2019-09-06 15:23:20 +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
Jascha Geerds
ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00
Frederik Rietdijk
e358e47683 python: setuptools_scm: 3.1.0 -> 3.2.0 2019-02-17 14:40:41 +01:00
Frederik Rietdijk
141438f007 python: setuptools_scm: 2.1.0 -> 3.1.0 2018-08-25 07:38:23 +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
ef7d822858 python: setuptools_scm: 1.17.0 -> 2.1.0 2018-06-22 13:09:30 +02:00
Frederik Rietdijk
9b85cb50cb python: setuptools_scm: 1.15.6 -> 1.17.0 2018-04-08 11:34:56 +02:00
Lancelot SIX
84c6e6b4d7 pythonPackages.setuptools_scm: 1.15.0 -> 1.15.6 2017-08-25 19:36:15 +02:00