forked from smemsh/python-timew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ pyproject: use setuptools-scm to derive version number from tags
this way we don't have to change it in two places and have it pollute the commits, instead the latest tag will be what the version number is. it means we have to check in the source code before releasing but that's probably normal anyways
- Loading branch information
Showing
4 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,9 @@ | |
|
||
[project] | ||
name = "timew" | ||
version = "0.1.1" | ||
readme = "README.rst" | ||
keywords = ["timewarrior",] | ||
dynamic = ["dependencies", "optional-dependencies",] | ||
dynamic = ["version", "dependencies", "optional-dependencies",] | ||
authors = [ | ||
{name = "Tjaart van der Walt", email = "[email protected]"}, | ||
{name = "Scott Mcdermott", email = "[email protected]"}, | ||
|
@@ -36,6 +35,10 @@ optional-dependencies.dev = { file = ["requirements-dev.txt"] } | |
[tool.setuptools.packages] | ||
find = {namespaces = false} | ||
|
||
[tool.setuptools_scm] | ||
version_scheme = "only-version" | ||
local_scheme = "no-local-version" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
testpaths = ["tests"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters