-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (97 loc) · 2.92 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=65"]
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "Clemens Burgstaller", email = "[email protected]"},
{name = "Christoph Mayer", email = "[email protected]"},
{name = "René Schwaiger", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: Other/Proprietary License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Programming Language :: Python",
]
dependencies = [
"bidict>=0.22.1,<2",
"dynaconf>=3.1.12,<4",
"matplotlib>=3.7.1,<4",
"netaddr>=0.8.0,<2",
"pdfrw>=0.4,<2",
"platformdirs>=3.5.0,<5",
"python-can[pcan]>=4,<5",
"pywin32>=306; os_name == 'nt'",
"reportlab>=4.0.4,<5",
"tables>=3.10.1,<4",
"tqdm>=4.65,<5",
# Fix `cannot import name 'deprecated' from 'typing_extensions'`
# TODO: Remove `typing_extensions` in the future (we do not use it directly)
'typing_extensions>=4.7.1',
"semantic_version>=2.10,<3",
"windows-curses>=2.3.3,<3; os_name == 'nt'",
]
description = """Control and test software for sensory tool holders (STH), \
sensor milling heads (SMH) and stationary transceiver units \
(STU)"""
dynamic = ["version"]
keywords = [
"smart-tool",
"smh",
"stu",
"sth",
"tool-holder",
]
name = "icoc"
readme = "ReadMe.md"
requires-python = ">=3.10"
[project.optional-dependencies]
dev = [
"flake8",
"mypy",
"pylint>=3.3.1",
"toml",
]
test = [
"icolyzer>=1.5.0", # Require ICOlyzer for Prysk tests
"prysk[pytest-plugin]>=0.13.1",
"maisie-sphinx-theme>=0.1.2" # Required for Sphinx doctests
]
[project.scripts]
icoc = "mytoolit.old.ui:main"
icon = "mytoolit.scripts.icon:main"
check-eeprom = "mytoolit.scripts.eeprom:main"
test-smh = "mytoolit.test.production.smh:main"
test-sth = "mytoolit.test.production.sth:main"
test-sth-verification = "mytoolit.old.test.MyToolItTestSth:main"
test-stu-verification = "mytoolit.old.test.MyToolItTestStu:main"
test-stu = "mytoolit.test.production.stu:main"
convert-base64-mac = "mytoolit.scripts.name:main"
convert-mac-base64 = "mytoolit.scripts.mac:main"
[project.urls]
Documentation = "https://mytoolit.github.io/ICOc/"
Source = "https://github.com/mytoolit/ICOc/"
[tool.black]
line-length = 79
preview = true
unstable = true
enable-unstable-feature = ["string_processing"]
[tool.mypy]
ignore_missing_imports = true
[tool.pylint.main]
ignore-paths = [".*mytoolit\\\\old.*|.*mytoolit/old.*"]
[tool.pytest.ini_options]
# - Use doctests
# - Fail after first errors
# - Ignore macOS metadata files
# - Ignore Bookdown output
# - Verbose output
addopts = "--doctest-modules -x --ignore-glob='*._*.py' --ignore=Bookdown -v"
minversion = "6.0"
[tool.setuptools.dynamic]
version = {attr = "mytoolit.__version__"}
[tool.setuptools.packages.find]
include = ["mytoolit*"]