Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set use_scm_version=True in setup.py #45

Merged
merged 2 commits into from
Aug 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"})