Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,6 @@ cython_debug/
.idea/

_build/

# setuptools_scm-generated file
src/genie_python/_version.py
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,6 @@ reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true

[tool.setuptools_scm]
version_file = "src/genie_python/_version.py"

[tool.build_sphinx]
7 changes: 6 additions & 1 deletion src/genie_python/version.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
VERSION = "0.0.0.qualifier"
from genie_python._version import version

__all__ = ["VERSION"]

# Shim for backwards-compatibility. Version now auto-generated by setuptools_scm.
VERSION = version