-
-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (116 loc) · 2.94 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (116 loc) · 2.94 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[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.15"
keywords = [
"3d models",
"3d printing",
"3d",
"brep",
"cad",
"cadquery",
"opencascade",
"python",
]
license = {text = "Apache-2.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = [
"cadquery-ocp-novtk >= 7.9, < 8.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, < 10",
"ocpsvg >= 0.6, < 0.7",
"ocp_gordon >= 0.2, < 0.3",
"trianglesolver",
"sympy",
"scipy",
"scikit-learn >= 1.5, < 2",
"webcolors ~= 24.8.0",
"requests >= 2.32, < 3",
# Install standard official lib3mf on everything EXCEPT linux aarch64
"lib3mf >= 2.4.1; sys_platform != 'linux' or platform_machine != 'aarch64'",
# Install py-lib3mf ONLY on linux aarch64
"py-lib3mf >= 2.4.1; sys_platform == 'linux' and platform_machine == 'aarch64'",
"bd_materials >= 0.2.0, < 0.3.0",
"threejs-materials>=1.2.1,<1.3.0",
]
[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"
"Citation" = "https://doi.org/10.5281/zenodo.14872323"
[project.optional-dependencies]
# enable the optional ocp_vscode visualization package
ocp_vscode = [
"ocp_vscode",
]
# development dependencies
development = [
"black",
"covdefaults",
"diff-cover",
"mypy",
"pylint",
"pytest >= 9.1.1",
"pytest-benchmark",
"pytest-cov",
"pytest-xdist",
"wheel",
]
# typing stubs for the OCP CAD kernel
stubs = [
"cadquery-ocp-stubs >= 7.9, < 8.0",
]
# 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[docs]",
"build123d[stubs]",
]
[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", "py314"]
line-length = 88
[tool.coverage.run]
plugins = ["covdefaults"]
source = ["build123d"]
[tool.coverage.report]
fail_under = 94
show_missing = true
[tool.diff_cover]
fail_under = 95
show_uncovered = true