SETUPTOOLS_SCM_PRETEND_VERSION my beloved??

This commit is contained in:
Gnarwhal 2024-09-09 17:14:35 +00:00
parent 846a33a941
commit 349a9cbd0e
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
3 changed files with 8 additions and 3 deletions

3
.gitignore vendored
View file

@ -159,3 +159,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
# setuptools_scm version file
src/sshare/version.py

View file

@ -1,10 +1,10 @@
[build-system] [build-system]
requires = ["setuptools"] requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "sshare" name = "sshare"
version = "2.0.0" dynamic = ["version"]
authors = [ authors = [
{ name = "Gnarwhal", email = "git.aspect893@passmail.net" }, { name = "Gnarwhal", email = "git.aspect893@passmail.net" },
] ]
@ -25,3 +25,6 @@ Issues = "https://forge.monodon.me/Gnarwhal/sshare/issues"
[project.scripts] [project.scripts]
sshare = "sshare.main:main" sshare = "sshare.main:main"
[tool.setuptools_scm]
version_file = "src/sshare/version.py"

View file

@ -1 +0,0 @@
version = "2.0.0"