mirror of
https://git.zavage.net/Zavage-Software/app_skellington.git
synced 2024-12-21 22:29:20 -07:00
build: adding _version.py, small build config change, and doc note
This commit is contained in:
parent
55a9796806
commit
470514ba4b
@ -136,6 +136,10 @@ twine upload dist/*
|
|||||||
setuptools_scm will infer the version based on the latest tag in your Git history.
|
setuptools_scm will infer the version based on the latest tag in your Git history.
|
||||||
Ensure you are tagging your commits with meaningful version numbers like v1.0.0, v1.1.0, etc.
|
Ensure you are tagging your commits with meaningful version numbers like v1.0.0, v1.1.0, etc.
|
||||||
|
|
||||||
|
You can view the current version number with the command:
|
||||||
|
|
||||||
|
python -m setuptools_scm
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
MIT no attribution required - https://opensource.org/license/mit-0
|
MIT no attribution required - https://opensource.org/license/mit-0
|
||||||
|
17
app_skellington/_version.py
Normal file
17
app_skellington/_version.py
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# file generated by setuptools_scm
|
||||||
|
# don't change, don't track in version control
|
||||||
|
TYPE_CHECKING = False
|
||||||
|
if TYPE_CHECKING:
|
||||||
|
from typing import Tuple, Union
|
||||||
|
|
||||||
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
||||||
|
else:
|
||||||
|
VERSION_TUPLE = object
|
||||||
|
|
||||||
|
version: str
|
||||||
|
__version__: str
|
||||||
|
__version_tuple__: VERSION_TUPLE
|
||||||
|
version_tuple: VERSION_TUPLE
|
||||||
|
|
||||||
|
__version__ = version = "0.2.2"
|
||||||
|
__version_tuple__ = version_tuple = (0, 2, 2)
|
@ -40,5 +40,6 @@ dev = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[tool.setuptools_scm]
|
[tool.setuptools_scm]
|
||||||
version_scheme = "guess-next-dev"
|
version_file = "app_skellington/_version.py"
|
||||||
|
version_scheme = "release-branch-semver"
|
||||||
local_scheme = "node-and-date"
|
local_scheme = "node-and-date"
|
||||||
|
Loading…
Reference in New Issue
Block a user