|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "pysdfscad" |
3 | 3 | version = "0.1.0" |
4 | 4 | description = "" |
5 | | -authors = [ "Alex Davies <[email protected]>"] |
| 5 | +authors = [{ name = "Alex Davies", email = "[email protected]" }] |
| 6 | +requires-python = ">=3.10,<3.12" |
6 | 7 | readme = "README.md" |
7 | | - |
8 | | -packages = [ |
9 | | - { include = "pysdfscad" }, |
10 | | - { include = "pysdfscad_qtgui" }, |
| 8 | +dependencies = [ |
| 9 | + "sdf", |
| 10 | + "lark>=1.1.5,<2", |
| 11 | + "loguru>=0.6.0,<0.7", |
| 12 | + "click>=8.1.3,<9", |
| 13 | + "appdirs>=1.4.4,<2", |
| 14 | + "astor>=0.8.1,<0.9", |
11 | 15 | ] |
12 | 16 |
|
13 | | -include = ["pysdfscad/openscad.lark"] |
14 | | - |
15 | | -[tool.poetry.dependencies] |
16 | | -#python = "^3.10" |
17 | | -python = ">=3.10,<3.12" #Required for pyinstaller |
18 | | -sdf = {git = "https://github.com/fogleman/sdf.git"} |
19 | | -lark = "^1.1.5" |
20 | | -loguru = "^0.6.0" |
21 | | -click = "^8.1.3" |
22 | | -pyqt5 = {version = "^5.15.7", optional = true} |
23 | | -qscintilla = {version = "^2.13.3", optional = true} |
24 | | -pyqtgraph = {version = "^0.13.1", optional = true} |
25 | | -pyopengl = {version = "^3.1.6", optional=true} |
26 | | -appdirs = "^1.4.4" |
27 | | -astor = "^0.8.1" |
28 | | -mkdocs-macros-plugin = "^0.7.0" |
| 17 | +[project.scripts] |
| 18 | +pysdfscad = "pysdfscad.main:main" |
| 19 | +pysdfscad_qtgui = "pysdfscad_qtgui.main:main" |
29 | 20 |
|
30 | | -[tool.poetry.extras] |
31 | | -qtgui = ["PyQt5","qscintilla","pysdfscad_qtgui","pyqtgraph","pyopengl"] |
32 | | -#docs = ["Sphinx", "sphinx-rtd-theme",] |
| 21 | +[project.optional-dependencies] |
| 22 | +gui = [ |
| 23 | + "pyside6>=6.9.3", |
| 24 | + "qscintilla>=2.13.3,<3", |
| 25 | + "pyqtgraph>=0.13.1,<0.14", |
| 26 | + "pyopengl>=3.1.6,<4", |
| 27 | +] |
| 28 | +dev = [ |
| 29 | + "pytest>=7.2.0,<8", |
| 30 | + "black>=22.12.0,<23", |
| 31 | +] |
33 | 32 |
|
34 | | -[tool.poetry.scripts] |
35 | | -pysdfscad = "pysdfscad.main:main" |
36 | | -pysdfscad_qtgui = { callable = "pysdfscad_qtgui.main:main", extras = ["qtgui"] } |
| 33 | +[tool.uv] |
| 34 | +package = true |
37 | 35 |
|
38 | | -[tool.poetry.group.dev.dependencies] |
39 | | -pytest = "^7.2.0" |
40 | | -black = "^22.12.0" |
41 | | -coverage = "^7.0.5" |
42 | | -nuitka = "^1.4.5" |
43 | | -ordered-set = "^4.1.0" |
44 | | -zstandard = "^0.19.0" |
45 | | -pyinstaller = "^5.8.0" |
46 | | -pyinstaller-hooks-contrib = "^2022.15" |
47 | | -mkdocs = "^1.4.2" |
48 | | -mkdocstrings = {extras = ["python"], version = "^0.20.0"} |
49 | | -mkdocs-material = "^9.0.12" |
| 36 | +[tool.uv.sources] |
| 37 | +sdf = { git = "https://github.com/fogleman/sdf.git" } |
50 | 38 |
|
51 | | -[build-system] |
52 | | -requires = ["poetry-core"] |
53 | | -build-backend = "poetry.core.masonry.api" |
| 39 | +[tool.setuptools] |
| 40 | +packages = ["pysdfscad", "pysdfscad_qtgui"] |
0 commit comments