|
1 | 1 | [build-system] |
2 | | -requires = ["setuptools"] |
3 | 2 | build-backend = "setuptools.build_meta" |
| 3 | +requires = [ "setuptools" ] |
4 | 4 |
|
5 | 5 | [project] |
6 | | -name="recceiver" |
| 6 | +name = "recceiver" |
| 7 | +version = "1.8dev" |
| 8 | +description = "recCeiver is a server component of the recsync protocol. It receives record updates from recsync clients (e.g., recCasters) and forwards them to a configurable backend such as ChannelFinder." |
| 9 | +readme = "README.md" |
7 | 10 | authors = [ |
8 | | - {name = "Michael Davidsaver", email = "mdavidsaver@gmail.com"}, |
| 11 | + { name = "Michael Davidsaver", email = "mdavidsaver@gmail.com" }, |
9 | 12 | ] |
10 | | -description="resync server" |
11 | | -version="1.5" |
12 | | -readme = "README.md" |
13 | 13 | requires-python = ">=3.6" |
| 14 | +classifiers = [ |
| 15 | + "Programming Language :: Python :: 3 :: Only", |
| 16 | + "Programming Language :: Python :: 3.6", |
| 17 | + "Programming Language :: Python :: 3.7", |
| 18 | + "Programming Language :: Python :: 3.8", |
| 19 | + "Programming Language :: Python :: 3.9", |
| 20 | + "Programming Language :: Python :: 3.10", |
| 21 | + "Programming Language :: Python :: 3.11", |
| 22 | + "Programming Language :: Python :: 3.12", |
| 23 | + "Programming Language :: Python :: 3.13", |
| 24 | + "Programming Language :: Python :: 3.14", |
| 25 | +] |
14 | 26 | dependencies = [ |
15 | | - "dataclasses; python_version < '3.7'", |
16 | | - "requests", |
17 | | - "twisted", |
18 | | - "channelfinder @ https://github.com/ChannelFinder/pyCFClient/archive/refs/tags/v3.0.0.zip" |
| 27 | + "channelfinder @ https://github.com/ChannelFinder/pyCFClient/archive/refs/tags/v3.0.0.zip", |
| 28 | + "dataclasses; python_version<'3.7'", |
| 29 | + "requests", |
| 30 | + "twisted", |
19 | 31 | ] |
20 | 32 |
|
21 | | -[project.optional-dependencies] |
22 | | -test = ["pytest", "testcontainers>=4"] |
23 | | - |
24 | | -[project.urls] |
25 | | -Repository="https://github.com/mdavidsaver/recsync" |
| 33 | +optional-dependencies.test = [ "pytest", "testcontainers>=4" ] |
| 34 | +urls.Repository = "https://github.com/ChannelFinder/recsync" |
26 | 35 |
|
27 | 36 | [tool.setuptools] |
28 | | -packages = ["recceiver", "twisted.plugins"] |
| 37 | +packages = [ "recceiver", "twisted.plugins" ] |
29 | 38 | include-package-data = true |
30 | 39 |
|
31 | 40 | [tool.setuptools.package-data] |
32 | | -twisted = ["plugins/recceiver_plugin.py"] |
33 | | - |
34 | | -[tool.pytest.ini_options] |
35 | | -log_cli = true |
36 | | -log_cli_level = "DEBUG" |
| 41 | +twisted = [ "plugins/recceiver_plugin.py" ] |
37 | 42 |
|
38 | 43 | [tool.ruff] |
39 | | -line-length = 120 |
| 44 | +target-version = "py39" |
40 | 45 |
|
41 | | -[tool.ruff.lint] |
| 46 | +line-length = 120 |
42 | 47 | # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. |
43 | 48 | # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or |
44 | 49 | # McCabe complexity (`C901`) by default. |
45 | | -select = ["E", "F", "I"] |
| 50 | +lint.select = [ "E", "F", "I" ] |
0 commit comments