Skip to content

Commit

Permalink
git rid of mistaken hard coded versioning (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarnier authored Jun 30, 2023
1 parent fadc0b9 commit 3fcd546
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "inductance"
# version set in git tag
version = "0.1.0a1.post4.dev0+6b6695f.dev.1688154083"
version = "0.0.0"
description = "Code for 2D inductance calculations"
authors = ["Darren Garnier <[email protected]>"]
license = "MIT"
Expand All @@ -14,8 +14,8 @@ numpy = "^1.24"
numba = "^0.57"

[tool.poetry.dev-dependencies]
poetry = "^1.4.0"
# nox = "^2023.4.22"
poetry = "^1.5.1"
nox = "^2023.4.22"
nox-poetry = "^1.0.0"
dunamai = "^1.17.0"

Expand All @@ -29,7 +29,7 @@ folders = [
]

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
requires = ["poetry-core>=1.6.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.black]
Expand Down
5 changes: 4 additions & 1 deletion src/inductance/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
"""Inductance."""

# this gets replaced with the package version during the build process
__version__ = "0.0.0"
try:
from ._version import __version__ # type: ignore
except ImportError:
__version__ = "0.0.0+unknown"

# from . import elliptics, filaments, inductance

0 comments on commit 3fcd546

Please sign in to comment.