File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -162,3 +162,6 @@ cython_debug/
162162.idea /
163163
164164_build /
165+
166+ # setuptools_scm-generated file
167+ src /genie_python /_version.py
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools" , " setuptools_scm>=8" ]
2+ requires = [" setuptools>=64 " , " setuptools_scm>=8" ]
33build-backend = " setuptools.build_meta"
44
55
@@ -119,5 +119,6 @@ reportUntypedClassDecorator = true
119119reportUntypedFunctionDecorator = true
120120
121121[tool .setuptools_scm ]
122+ version_file = " src/genie_python/_version.py"
122123
123124[tool .build_sphinx ]
Original file line number Diff line number Diff line change 1- VERSION = "0.0.0.qualifier"
1+ from genie_python ._version import version
2+
3+ __all__ = ["VERSION" ]
4+
5+ # Shim for backwards-compatibility. Version now auto-generated by setuptools_scm.
6+ VERSION = version
You can’t perform that action at this time.
0 commit comments