-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (79 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
88 lines (79 loc) · 2.01 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "stservo"
version = "1.0.0"
authors = [
]
description = "Python library for controlling STServos with GUI interface"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["servo", "stservo", "robotics", "hardware", "control"]
dependencies = [
"pyserial>=3.5",
"pyyaml>=6.0",
]
[project.optional-dependencies]
gui = ["tkinter"]
dev = [
"pytest>=6.0",
"pytest-cov",
"black",
"flake8",
"mypy",
]
[project.urls]
Homepage = "https://github.com/iltlo/waveshare_stservo_python"
Repository = "https://github.com/iltlo/waveshare_stservo_python"
Documentation = "https://github.com/iltlo/waveshare_stservo_python/blob/main/README.md"
Issues = "https://github.com/iltlo/waveshare_stservo_python/issues"
[project.scripts]
stservo-gui = "stservo.gui.servo_gui:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"stservo" = ["../config/*.yaml"]
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --strict-markers"
testpaths = [
"tests",
]
[tool.mypy]
python_version = "3.7"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true