-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 1.62 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "plotterforge"
version = "1.0.0"
description = "Turn raster images and procedural drawings into layered, plotter-ready SVG — then preview and plot them on a multi-pen plotter"
readme = "README.md"
requires-python = ">=3.13,<3.14"
dependencies = [
"numpy>=2.4.6",
"pillow>=12.2.0",
"svgwrite>=1.4.3",
"flask>=3.0",
"pyserial>=3.5",
"svgelements>=1.8",
"scipy>=1.13",
"scikit-image>=0.24",
"opencv-python-headless>=4.10",
"shapely>=2.0",
]
[project.optional-dependencies]
cuda = [
"torch>=2.6,<2.7",
"torchvision>=0.21,<0.22",
]
mps = [
"torch>=2.6,<2.7",
"torchvision>=0.21,<0.22",
]
sam2 = [
"sam-2",
"setuptools>=61",
]
[dependency-groups]
dev = [
"pytest>=8",
]
[tool.pytest.ini_options]
testpaths = ["tests", "web"]
[tool.setuptools.packages.find]
where = ["."]
include = ["engine*", "integrations*", "plotter*", "profiling*", "web*"]
[tool.setuptools.package-data]
web = ["static/**/*"]
[tool.uv]
package = true
conflicts = [
[
{ extra = "cuda" },
{ extra = "mps" },
],
]
no-build-isolation-package = ["sam-2"]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu124", extra = "cuda", marker = "sys_platform == 'win32'" },
]
torchvision = [
{ index = "pytorch-cu124", extra = "cuda", marker = "sys_platform == 'win32'" },
]
sam-2 = { git = "https://github.com/facebookresearch/sam2.git", rev = "2b90b9f5ceec907a1c18123530e92e794ad901a4" }
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true