mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 07:10:25 -08:00
pyproject.toml -> optional dependencies
This commit is contained in:
parent
86b04b3994
commit
0712293551
1 changed files with 37 additions and 0 deletions
|
|
@ -52,6 +52,43 @@ dependencies = [
|
||||||
"Documentation" = "https://build123d.readthedocs.io/en/latest/index.html"
|
"Documentation" = "https://build123d.readthedocs.io/en/latest/index.html"
|
||||||
"Bug Tracker" = "https://github.com/gumyr/build123d/issues"
|
"Bug Tracker" = "https://github.com/gumyr/build123d/issues"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
# enable the optional ocp_vscode visualization package
|
||||||
|
ocp_vscode = [
|
||||||
|
"ocp_vscode",
|
||||||
|
]
|
||||||
|
|
||||||
|
# development dependencies
|
||||||
|
development = [
|
||||||
|
"wheel",
|
||||||
|
"pytest",
|
||||||
|
"pytest-cov",
|
||||||
|
"pylint",
|
||||||
|
"mypy",
|
||||||
|
"black",
|
||||||
|
]
|
||||||
|
|
||||||
|
# dependency to run the pytest benchmarks
|
||||||
|
benchmark = [
|
||||||
|
"pytest-benchmark",
|
||||||
|
]
|
||||||
|
|
||||||
|
# dependencies to build the docs
|
||||||
|
docs = [
|
||||||
|
"sphinx",
|
||||||
|
"sphinx-design",
|
||||||
|
"sphinx-copybutton",
|
||||||
|
"sphinx-hoverxref",
|
||||||
|
]
|
||||||
|
|
||||||
|
# all dependencies
|
||||||
|
all = [
|
||||||
|
"build123d[ocp_vscode]",
|
||||||
|
"build123d[development]",
|
||||||
|
"build123d[benchmark]",
|
||||||
|
"build123d[docs]",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
where = ["src"]
|
where = ["src"]
|
||||||
# exclude build123d._dev from wheels
|
# exclude build123d._dev from wheels
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue