Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove setuptools_scm in favor of manual version management
The version file was not checked in, causing Travis builds to fail. There is a way to fix this without reverting to manual versions, but it's more trouble than it's worth.
- Loading branch information
1 parent
4bbf495
commit 7f416e6
Showing
4 changed files
with
3 additions
and
10 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
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"] | ||
requires = ["setuptools>=44", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "genson/version.py" | ||
write_to_template = "__version__ = '{version}'\n" |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[metadata] | ||
name = genson | ||
version = 1.3.0 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
wolverdude
Author
Owner
|
||
author = Jon Wolverton | ||
author_email = wolverton.jr@gmail.com | ||
license = MIT | ||
|
I suppose you could use this form to avoid duplication:
See https://packaging.python.org/guides/single-sourcing-package-version/#single-sourcing-the-package-version