-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathpyproject.toml
More file actions
138 lines (120 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
138 lines (120 loc) · 2.81 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "comitup"
version = "1.46"
authors = [
{name = "David Steele", email = "dsteele@gmail.com"},
]
description = "Remotely manage wifi connections on a headless computer"
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"raspberrypi",
"raspberry-pi",
"pi",
"wifi",
"zeroconf",
"bootstrap-wifi",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Topic :: System :: Networking",
]
dependencies = [
"cachetools",
"jinja2",
"pygobject",
"flask",
"python-networkmanager",
"pycairo",
]
[project.scripts]
comitup = "comitup.comitup:main"
comitup-web = "comitup_web.comitupweb:main"
comitup-cli = "comitup_cli.comitupcli:main"
[project.urls]
Homepage = "https://davesteele.github.io/comitup/"
Source = "https://github.com/davesteele/comitup.git"
Issues = "https://github.com/davesteele/comitup/issues"
Changelog = "https://raw.githubusercontent.com/davesteele/comitup/refs/heads/debian/debian/changelog"
[tool.setuptools]
packages = [
"comitup",
"comitup_cli",
"comitup_web",
"comitup_web.templates",
"comitup_web.templates.js",
"comitup_web.templates.images",
"comitup_web.templates.css",
]
include-package-data = true
[tool.ruff]
line-length = 79
indent-width = 4
[tool.pytest.ini_options]
filterwarnings = [
"ignore",
"default:::comitup",
"default:::comitup_web",
"default:::comitup_cli"
]
asyncio_default_fixture_loop_scope = "function"
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
TEST
PEP8
MYPY
[testenv:TEST]
deps =
pytest
dbus-python
python-networkmanager
flask
pygobject
apt-wrapper
cachetools
commands_pre =
apt status libcairo2-dev
apt status gobject-introspection
apt status libgirepository-2.0-dev
apt status python3-dev
apt status libdbus-glib-1-dev
apt status libdbus-1-dev
commands = pytest
[testenv:PEP8]
deps = ruff
commands = ruff check setup.py comitup comitup_cli comitup_web test
[testenv:MYPY]
deps =
mypy
types-tabulate
types-Flask
types-cachetools
types-RPi-GPIO
commands = mypy comitup comitup_cli comitup_web test
"""
[tool.mypy]
mypy_path = "stubs"
[[tool.mypy.overrides]]
module = [
"mypy-dbus",
"dbus",
"dbus.mainloop.glib",
"dbus.service",
"gi",
"gi.repository.GLib",
"pytest",
"RPi",
"venv",
]
ignore_missing_imports = true