-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (103 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
112 lines (103 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
# SPDX-FileCopyrightText: 2026 Sebastian Andersson <sebastian@bittr.nu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "spoolman2slicer"
version = "0.1.1-rc1"
description = "Export active Spoolman spools' data to filament configuration files for 3D printer slicers"
readme = "README.md"
requires-python = ">=3.10"
license = "GPL-3.0-or-later"
license-files = [
"LICENSE",
"LICENSES/*",
"REUSE.toml",
]
authors = [
{name = "Sebastian Andersson", email = "sebastian@bittr.nu"}
]
keywords = ["spoolman", "3d-printing", "slicer", "orcaslicer", "crealityprint", "prusaslicer", "superslicer"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Printing",
]
dependencies = [
"appdirs==1.4.4",
"Jinja2==3.1.6",
"pathvalidate>=3.3.1",
"requests==2.33.0",
"websockets==12.0",
"urllib3>=2.6.0",
]
[project.optional-dependencies]
dev = [
"black>=25.9.0",
"build>=1.4.0",
"bumpver>=2025.1131",
"mypy>=1.0.0",
"pylint>=4.0.0",
"pytest>=8.0.0",
"pytest-mock>=3.12.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.0",
"reuse>=5.0.0",
"ruff>=0.1.0",
"types-pyserial>=3.5.0",
]
[project.urls]
Homepage = "https://github.com/bofh69/spoolman2slicer"
Repository = "https://github.com/bofh69/spoolman2slicer"
Issues = "https://github.com/bofh69/spoolman2slicer/issues"
[project.scripts]
spoolman2slicer = "spoolman2slicer.spoolman2slicer:main"
create-template-files = "spoolman2slicer.create_template_files:main"
[tool.setuptools]
packages = ["spoolman2slicer"]
include-package-data = true
[tool.setuptools.package-data]
"spoolman2slicer" = [
"data/templates-crealityprint/*",
"data/templates-orcaslicer/*",
"data/templates-prusaslicer/*",
"data/templates-slic3r/*",
"data/templates-superslicer/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v"
[tool.bumpver]
current_version = "0.1.1-rc1"
version_pattern = "MAJOR.MINOR.PATCH[-PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
tag_message = "{new_version}"
tag_scope = "default"
pre_commit_hook = ""
post_commit_hook = ""
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"spoolman2slicer/create_template_files.py" = [
'^VERSION = "{pep440_version}"',
]
"pyproject.toml" = [
'^current_version = "{version}"',
'^version = "{pep440_version}"',
]
"spoolman2slicer/spoolman2slicer.py" = [
'^VERSION = "{pep440_version}"',
]