mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
scm_versioning MANIFEST.in and pyproject.toml
MANIFEST.in and pyproject.toml
This commit is contained in:
parent
0ba23ed3e6
commit
1bbdef2bdd
2 changed files with 17 additions and 2 deletions
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# exclude build123d._dev from sdists
|
||||||
|
prune src/build123d/_dev
|
||||||
|
|
@ -1,13 +1,17 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools>=42",
|
"setuptools>=45",
|
||||||
"wheel",
|
"wheel",
|
||||||
|
"setuptools_scm[toml]>=6.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "build123d"
|
name = "build123d"
|
||||||
version = "0.1.0"
|
#version = "0.1.0" # Uncomment this for the next release?
|
||||||
|
dynamic = ["version"]
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Roger Maitland", email = "gumyr9@gmail.com"},
|
{name = "Roger Maitland", email = "gumyr9@gmail.com"},
|
||||||
]
|
]
|
||||||
|
|
@ -39,3 +43,12 @@ dependencies = [
|
||||||
"svgpathtools >= 1.5.1, <2",
|
"svgpathtools >= 1.5.1, <2",
|
||||||
"anytree >= 2.8.0, <3"
|
"anytree >= 2.8.0, <3"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
where = ["src"]
|
||||||
|
# exclude build123d._dev from wheels
|
||||||
|
exclude = ["_dev"]
|
||||||
|
|
||||||
|
[tool.setuptools_scm]
|
||||||
|
write_to = "src/build123d/_version.py"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue