Skip to content

Commit

Permalink
Merge pull request #31 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 a302720 + 9ce57dc commit 5f7d9ad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
0.6.0 (Unreleased)
0.5.2 (unreleased)
==================

- Updated ENGINEERIGN value to F213 in optical_element. [#29]
- Updated ENGINEERING value to F213 in optical_element. [#29]

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

0.5.1 (2021-08-24)
==================
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ install_requires =
psutil>=5.7.2
numpy>=1.16
astropy>=4.0
#romanad>=0.5.0
romanad @ git+https://github.com/spacetelescope/rad.git@main
romanad>=0.6.1

package_dir =
=src
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/roman_datamodels/_version.py"})

0 comments on commit 5f7d9ad

Please sign in to comment.