-
-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathpyproject.toml
104 lines (91 loc) · 2.12 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "build123d"
dynamic = ["version"]
authors = [
{name = "Roger Maitland", email = "gumyr9@gmail.com"},
]
description = "A python CAD programming library"
readme = "README.md"
requires-python = ">= 3.10, < 3.14"
keywords = [
"3d models",
"3d printing",
"3d",
"brep",
"cad",
"cadquery",
"opencscade",
"python",
]
license = {text = "Apache-2.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"cadquery-ocp >= 7.8.0, < 7.9.0",
"typing_extensions >= 4.6.0, < 5",
"numpy >= 2, < 3",
"svgpathtools >= 1.5.1, < 2",
"anytree >= 2.8.0, < 3",
"ezdxf >= 1.1.0, < 2",
"ipython >= 8.0.0, < 9",
"py-lib3mf >= 2.3.1",
"ocpsvg >= 0.4",
"trianglesolver",
]
[project.urls]
"Homepage" = "/~https://github.com/gumyr/build123d"
"Documentation" = "https://build123d.readthedocs.io/en/latest/index.html"
"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==8.1.3", # pin for stability of docs builds
"sphinx-design",
"sphinx-copybutton",
"sphinx-hoverxref",
"sphinx-rtd-theme",
"sphinx_autodoc_typehints",
]
# all dependencies
all = [
"build123d[ocp_vscode]",
"build123d[development]",
"build123d[benchmark]",
"build123d[docs]",
]
[tool.setuptools.packages.find]
where = ["src"]
# exclude build123d._dev from wheels
exclude = ["build123d._dev"]
[tool.setuptools_scm]
write_to = "src/build123d/_version.py"
[tool.black]
target-version = ["py310", "py311", "py312", "py313"]
line-length = 88