-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
68 lines (58 loc) · 1.77 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
[project]
name = "discovery30303"
version = "0.3.3"
license = "Apache-2.0"
description = "Discover devices that respond on port 30303"
authors = [{ name = "J. Nick Koston", email = "nick@koston.org" }]
readme = "README.md"
requires-python = ">=3.9"
dynamic = ["classifiers", "dependencies", "optional-dependencies"]
[project.urls]
"Repository" = "https://github.com/bdraco/discovery30303"
"Documentation" = "https://discovery30303.readthedocs.io"
"Bug Tracker" = "https://github.com/bdraco/discovery30303/issues"
"Changelog" = "https://discovery30303.readthedocs.io/changelog.html"
[tool.poetry]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
]
packages = [
{ include = "discovery30303" },
]
[tool.poetry.dependencies]
python = "^3.9"
# Documentation Dependencies
Sphinx = {version = ">=4,<6", optional = true}
sphinx-rtd-theme = {version = ">=1,<3", optional = true}
myst-parser = {version = ">=0.16,<1.1", optional = true}
[tool.poetry.extras]
docs = [
"myst-parser",
"sphinx",
"sphinx-rtd-theme",
]
[tool.poetry.group.dev.dependencies]
black = "^25.1"
flake8 = "^7.1.1"
isort = "^6.0.0"
pytest = "^8.3.4"
pytest-cov = "^6.0.0"
pyupgrade = "^3.19.1"
tox = "^4.24.1"
[tool.semantic_release]
branch = "main"
version_toml = "pyproject.toml:project.version"
version_variable = "discovery30303/__init__.py:__version__"
build_command = "pip install poetry && poetry build"
[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=discovery30303"
[tool.isort]
profile = "black"
known_first_party = ["discovery30303", "tests"]
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"