Switch to using setuptools_scm for versioning
Compare changes
Files
7+ 2
− 8
@@ -60,13 +59,8 @@ def setup_logger(outdir='.', label=None, log_level='INFO', print_version=False):
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
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
.