-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.72 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "thingiverse-publisher"
dynamic = ["version"]
description = "A simple tool to publish things to Thingiverse using the Thingiverse API"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
requires-python = ">=3.10"
authors = [{ name = "nomike", email = "nomike@nomike.com" }]
keywords = ["thingiverse", "api", "3d", "publish", "maker"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"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 :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"thingiverse-client>=1.0.0",
"docopt>=0.6.2",
]
[project.optional-dependencies]
dev = [
"pre-commit>=3.0.0",
"ruff>=0.4.0",
"pytest>=7.0",
]
[project.scripts]
thingiverse-publisher = "thingiverse_publisher.cli:main"
[tool.hatch.version]
source = "code"
path = "thingiverse_publisher/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["thingiverse_publisher"]
[tool.hatch.build.targets.sdist]
include = ["thingiverse_publisher"]
[tool.ruff]
target-version = "py310"
line-length = 100
src = ["thingiverse_publisher", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-v --tb=short"