Skip to content

Commit 92c373a

Browse files
committed
set up dynamic versioning
1 parent 6dc6b51 commit 92c373a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lewis/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@
1818
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919
# *********************************************************************
2020

21-
__version__ = "1.3.3"
21+
from lewis._version import version
22+
23+
__version__ = version
2224
__all__ = []

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,6 @@ lewis-control = "lewis.scripts.control:control_simulation"
6868

6969
[tool.setuptools.packages.find]
7070
exclude=["tests", "tests.*"]
71+
72+
[tool.setuptools_scm]
73+
version_file = "src/lewis/_version.py"

0 commit comments

Comments
 (0)