fix(build-toolchain): migrate versioning to setuptools_scm
versioning of package now handled through setuptools_scm. Git tag therefore takes precedence and manually setting a version in setup.cfg is redundant. In addition, setuptools_scm handles proper inclusion of sdist non-python files and simplifies bdist packaging.
This commit is contained in:
parent
c888f22b93
commit
619f7cbf50
3 changed files with 9 additions and 5 deletions
|
|
@ -1,2 +0,0 @@
|
|||
recursive-include src/httpaste/schema *.json
|
||||
recursive-incude src/httpaste/backend *.sql
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
[build-system]
|
||||
requires = [
|
||||
"setuptools",
|
||||
"wheel"
|
||||
"wheel",
|
||||
"setuptools-scm[toml]"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
|
@ -10,3 +11,5 @@ max_line_length = 80
|
|||
aggressive = 3
|
||||
recursive = true
|
||||
in-place = true
|
||||
|
||||
[tool.setuptools_scm]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
[metadata]
|
||||
name = httpaste-victorykit
|
||||
version = 1.0.9-alpha
|
||||
author = Tiara Rodney
|
||||
author_email = t.rodney@victoryk.it
|
||||
description = a versatile HTTP pastebin
|
||||
|
|
@ -38,3 +37,7 @@ console_scripts =
|
|||
[options.packages.find]
|
||||
where = src
|
||||
|
||||
[options.package_data]
|
||||
* =
|
||||
*.json
|
||||
*.sql
|
||||
Loading…
Add table
Add a link
Reference in a new issue