We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8172f0c commit cbaf1e1Copy full SHA for cbaf1e1
2 files changed
pyproject.toml
@@ -6,5 +6,8 @@ requires = [
6
"wheel"
7
]
8
9
+[tool.setuptools_scm]
10
+write_to = "src/sumo/wrapper/version.py"
11
+
12
[tool.black]
13
line-length = 79
src/sumo/wrapper/__init__.py
@@ -1,3 +1,10 @@
1
from .sumo_client import SumoClient
2
3
+try:
4
+ from .version import version
5
+ __version__ = version
+except ImportError:
+ __version__ = "0.0.0"
__all__ = ["SumoClient"]
0 commit comments