1- [tool . poetry ]
1+ [project ]
22name = " barcode-server"
33version = " 2.5.0"
44description = " A simple daemon to expose USB Barcode Scanner data to other services using Websockets, Webhooks or MQTT."
5+ readme = " README.md"
6+ requires-python = " >=3.13"
7+ license = { text = " AGPL-3.0-or-later" }
8+ authors = [ { name = " Markus Ressel" , email = " mail@markusressel.de" } ]
59
6- license = " AGPL-3.0-or-later"
7-
8- authors = [
9- " Markus Ressel <mail@markusressel.de>" ,
10- ]
11-
12- readme = ' README.md'
13-
14- repository = " https://github.com/markusressel/barcode-server"
15- homepage = " https://github.com/markusressel/barcode-server"
16-
17- keywords = [' barcode' , ' asyncio' , ' qrcode' , ' http' , ' mqtt' , ' server' , ' websocket' , ' websocket' ]
18-
10+ keywords = [" barcode" , " asyncio" , " qrcode" , " http" , " mqtt" , " server" , " websocket" ]
1911classifiers = [
2012 " License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)" ,
2113 " Programming Language :: Python :: 3 :: Only" ,
22- ' Programming Language :: Python :: 3' ,
23- ' Programming Language :: Python :: 3.7' ,
24- ' Programming Language :: Python :: 3.8' ,
25- ' Programming Language :: Python :: 3.9' ,
26- " Development Status :: 5 - Production/Stable"
14+ " Programming Language :: Python :: 3" ,
15+ " Programming Language :: Python :: 3.7" ,
16+ " Programming Language :: Python :: 3.8" ,
17+ " Programming Language :: Python :: 3.9" ,
18+ " Development Status :: 5 - Production/Stable" ,
2719]
2820
29- [build-system ]
30- requires = [" poetry-core>=1.0.0" ]
31- build-backend = " poetry.core.masonry.api"
21+ urls = { "Repository" = " https://github.com/markusressel/barcode-server" , "Homepage" = " https://github.com/markusressel/barcode-server" }
22+
23+ # PEP 621-style dependency list (strings using PEP 508 specs)
24+ dependencies = [
25+ " container-app-conf >=5.0.0" ,
26+ " evdev" ,
27+ " orjson" ,
28+ " aiohttp" ,
29+ " aiomqtt" ,
30+ " prometheus-client" ,
31+ " prometheus_async" ,
32+ " click" ,
33+ " ruamel-yaml-clib ==0.2.15" ,
34+ ]
3235
33- [tool .poetry .dependencies ]
34- python = " ^3.13" # Compatible python versions must be declared here
36+ [project .optional-dependencies ]
37+ test = [
38+ " pytest" ,
39+ " pytest-aiohttp" ,
40+ " pytest-mock"
41+ ]
3542
36- container-app-conf = " >=5.0.0"
37- evdev = " *"
38- orjson = " *"
39- aiohttp = " *"
40- aiomqtt = " *"
41- prometheus-client = " *"
42- prometheus_async = " *"
43- click = " *"
44- ruamel-yaml-clib = " 0.2.15"
43+ [project .scripts ]
44+ barcode-server = " barcode_server.cli:cli"
4545
46- [tool .poetry .group .test .dependencies ]
47- pytest = " *"
48- pytest-aiohttp = " *"
49- pytest-mock = " *"
46+ [build-system ]
47+ requires = [" poetry-core>=1.0.0" ]
48+ build-backend = " poetry.core.masonry.api"
5049
5150[tool .pytest .ini_options ]
5251testpaths = [
5352 " tests" ,
5453]
55-
56- [tool .poetry .scripts ]
57- barcode-server = ' barcode_server.cli:cli'
0 commit comments