Skip to content

Commit

Permalink
Merge pull request #45 from eslavich/eslavich-use-scm-version
Browse files Browse the repository at this point in the history
Set use_scm_version=True in setup.py
  • Loading branch information
eslavich authored Aug 26, 2021
2 parents 0ad675c + 9c33645 commit 0373a76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.2.4 (unreleased)
0.2.4 (2021-08-26)
==================


Workaround for setuptools_scm issues with recent versions of pip. [#45]

0.2.3 (2021-08-06)
==================
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ zip_safe = True
python_requires = >=3.7
setup_requires =
setuptools_scm
# This requirement forces readthedocs.io to install the
# minimum version of packaging that setuptools_scm needs.
packaging>=17

install_requires =
numpy>=1.17
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
from setuptools import setup

setup()
# This should be enabled by pyproject.toml, but that doesn't seem
# to work with pip 21.2.4.
setup(use_scm_version={"write_to": "src/stcal/_version.py"})

0 comments on commit 0373a76

Please sign in to comment.