-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (64 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (64 loc) · 1.55 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
[project]
name = "ducpy"
dynamic = ["version"]
description = "The library for the Duc 2D CAD file format"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"nanoid>=2.0.0",
"pypdf>=4.2.0"
]
license = { text = "MIT" }
authors = [
{ name = "Ducflair", email = "support@ducflair.com" },
{ name = "Jorge Soares" }
]
classifiers = [
"License :: OSI Approved :: MIT License",
]
[project.optional-dependencies]
ocr = [
"rapidocr-onnxruntime>=1.3.24",
"numpy>=1.20.0",
]
[project.urls]
"Homepage" = "https://duc.ducflair.com"
"Source" = "https://github.com/ducflair/duc/tree/main/packages/ducpy"
"Documentation" = "https://ducflair.github.io/duc/reference/python/"
"Package Index" = "https://ducflair.github.io/duc/simple/ducpy/"
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
manifest-path = "crate/Cargo.toml"
python-source = "src"
python-packages = ["ducpy", "ducpy_native"]
module-name = "ducpy_native"
include = [
{ path = "LICENSE", format = "sdist" },
]
[tool.setuptools]
[tool.setuptools.packages.find]
where = ["src"]
[dependency-groups]
dev = [
"ducpy[ocr]",
"maturin>=1.0,<2.0",
"furo>=2024.8.6",
"sphinx>=8.1.3",
"sphinx-autoapi>=3.6.0",
"pytest>=8.3.5",
"rich>=13.0.0",
"numpy>=1.20.0",
"typst>=0.14.9",
"build123d>=0.10.0",
"ocp-vscode>=3.4.0",
"ifcopenshell>=0.8.5",
]
[tool.pytest.ini_options]
testpaths = ["src/tests"]
python_files = "test_*.py"
addopts = "-vv"
markers = [
"slow: marks tests as slow (OCR-heavy, etc.)",
]