1
+ # ==================
2
+ # Project definition
3
+ # ==================
4
+
5
+ # Derived from https://peps.python.org/pep-0621/
6
+
7
+ [project ]
8
+ name = " calypso-anemometer"
9
+ version = " 0.5.1"
10
+ description = " Python driver for the Calypso UP10 anemometer"
11
+ readme = " README.rst"
12
+ keywords = [
13
+ " anemometer" ,
14
+ " ble" ,
15
+ " bluetooth" ,
16
+ " bluetooth-le" ,
17
+ " bluetooth-low-energy" ,
18
+ " calypso" ,
19
+ " environmental-monitoring" ,
20
+ " nmea" ,
21
+ " nmea-0183" ,
22
+ " opencpn" ,
23
+ " openplotter" ,
24
+ " signalk" ,
25
+ " signalk-plugin" ,
26
+ " solar" ,
27
+ " ultrasonic" ,
28
+ " ultrasonic-anemometry" ,
29
+ " ultrasonic-sensor" ,
30
+ " up10" ,
31
+ " wind-meter" ,
32
+ ]
33
+ license = {text = " AGPL-3.0, EUPL-1.2" }
34
+ authors = [
35
+ {
name =
" Andreas Motl" ,
email =
" [email protected] " },
36
+ {name = " Holger Marseille" },
37
+ ]
38
+ requires-python = " >=3.7"
39
+ classifiers = [
40
+ " Development Status :: 4 - Beta" ,
41
+ " Environment :: Console" ,
42
+ " Intended Audience :: Customer Service" ,
43
+ " Intended Audience :: Developers" ,
44
+ " Intended Audience :: Education" ,
45
+ " Intended Audience :: Information Technology" ,
46
+ " Intended Audience :: Manufacturing" ,
47
+ " Intended Audience :: Science/Research" ,
48
+ " Intended Audience :: System Administrators" ,
49
+ " Intended Audience :: Telecommunications Industry" ,
50
+ " License :: OSI Approved :: GNU Affero General Public License v3" ,
51
+ " License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)" ,
52
+ " Operating System :: MacOS :: MacOS X" ,
53
+ " Operating System :: POSIX :: Linux" ,
54
+ " Operating System :: Unix" ,
55
+ " Programming Language :: Python" ,
56
+ " Programming Language :: Python :: 3.7" ,
57
+ " Programming Language :: Python :: 3.8" ,
58
+ " Programming Language :: Python :: 3.9" ,
59
+ " Programming Language :: Python :: 3.10" ,
60
+ " Programming Language :: Python :: 3.11" ,
61
+ " Topic :: Communications" ,
62
+ " Topic :: Education" ,
63
+ " Topic :: Home Automation" ,
64
+ " Topic :: Scientific/Engineering" ,
65
+ " Topic :: Software Development :: Libraries" ,
66
+ " Topic :: Software Development :: Quality Assurance" ,
67
+ " Topic :: Software Development :: Object Brokering" ,
68
+ " Topic :: System :: Emulators" ,
69
+ " Topic :: System :: Hardware" ,
70
+ " Topic :: System :: Logging" ,
71
+ " Topic :: System :: Monitoring" ,
72
+ " Topic :: System :: Networking" ,
73
+ " Topic :: System :: Networking :: Monitoring" ,
74
+ " Topic :: System :: Systems Administration" ,
75
+ " Topic :: Utilities" ,
76
+ ]
77
+ dependencies = [
78
+ " bleak<1" ,
79
+ " click<9" ,
80
+ ]
81
+ [project .optional-dependencies ]
82
+ develop = [
83
+ " black<24" ,
84
+ " isort<6" ,
85
+ " poethepoet<0.19" ,
86
+ " proselint==0.13" ,
87
+ " pyproject-fmt<0.10" ,
88
+ " ruff==0.0.252" ,
89
+ " validate-pyproject<0.13" ,
90
+ ]
91
+ fake = [
92
+ ' aiorate<2,>1; python_version >= "3.7"' ,
93
+ ]
94
+ release = [
95
+ " build<1" ,
96
+ ' minibump<1; python_version >= "3.10"' ,
97
+ " twine<5" ,
98
+ ]
99
+ test = [
100
+ " pytest<8" ,
101
+ " pytest-asyncio<1" ,
102
+ " pytest-cov<4" ,
103
+ " pytest-mock<4" ,
104
+ ]
105
+ [project .urls ]
106
+ changelog = " https://github.com/maritime-labs/calypso-anemometer/blob/main/CHANGES.rst"
107
+ documentation = " https://github.com/maritime-labs/calypso-anemometer"
108
+ homepage = " https://github.com/maritime-labs/calypso-anemometer"
109
+ repository = " https://github.com/maritime-labs/calypso-anemometer"
110
+ [project .entry-points .console_scripts ]
111
+ calypso-anemometer = " calypso_anemometer.cli:cli"
112
+
113
+ [tool .setuptools .packages ]
114
+ find = {}
115
+
1
116
[tool .black ]
2
117
line-length = 120
3
118
@@ -65,15 +180,14 @@ select = [
65
180
66
181
[tool .poe .tasks ]
67
182
68
- test = { cmd = " pytest" }
69
-
70
183
format = [
71
184
{ cmd = " black ." },
72
185
{ cmd = " isort ." },
73
186
# Configure Ruff not to auto-fix (remove!) unused variables (F841) and `print` statements (T201).
74
187
{ cmd = " ruff --fix --ignore=ERA --ignore=F401 --ignore=F841 --ignore=T20 ." },
75
188
{ cmd = " pyproject-fmt pyproject.toml" },
76
189
]
190
+
77
191
lint = [
78
192
{ cmd = " ruff check ." },
79
193
{ cmd = " black --check ." },
@@ -88,3 +202,5 @@ release = [
88
202
{ cmd = " python -m build" },
89
203
{ cmd = " twine upload --skip-existing --verbose dist/*{.tar.gz,.whl}" },
90
204
]
205
+
206
+ test = { cmd = " pytest" }
0 commit comments