Skip to content

Switch to using setuptools_scm for versioning

This MR is a possible alternative to !1118 (closed) and uses setuptools_scm instead of versioneer.

The most notable change is the inclusion of pyproject.toml which, as of PEP 518, is the recommended way to manage build dependencies and is also used to configure setuptools_scm.

One thing to note with this approach is that when using an editable install (pip install -e .) the version is only updated when the module is installed rather than every time it is imported. I'm not sure how this compares to versioneer.

Merge request reports

Loading