|
1 | 1 | [build-system]
|
2 |
| -requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] |
| 2 | +requires = ["setuptools>=61.2", "setuptools_scm[toml]>=6.2"] |
3 | 3 | build-backend = "setuptools.build_meta"
|
4 | 4 |
|
| 5 | +[project] |
| 6 | +name = "python-openhab" |
| 7 | +description = "python library for accessing the openHAB REST API" |
| 8 | +authors = [{ name = "Georges Toth", email = "georges@trypill.org" }] |
| 9 | +license = { text = "AGPLv3+" } |
| 10 | +classifiers = [ |
| 11 | + "Development Status :: 5 - Production/Stable", |
| 12 | + "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", |
| 13 | + "Intended Audience :: Developers", |
| 14 | + "Operating System :: OS Independent", |
| 15 | + "Programming Language :: Python :: 3", |
| 16 | + "Programming Language :: Python :: 3 :: Only", |
| 17 | +] |
| 18 | +keywords = ["openHAB"] |
| 19 | +requires-python = ">=3.5" |
| 20 | +dependencies = [ |
| 21 | + "requests~=2.26", |
| 22 | + "python-dateutil~=2.8", |
| 23 | + "requests_oauthlib~=1.3", |
| 24 | +] |
| 25 | +dynamic = ["version"] |
| 26 | + |
| 27 | +[project.readme] |
| 28 | +file = "README.md" |
| 29 | +content-type = "text/markdown" |
| 30 | + |
| 31 | +[project.urls] |
| 32 | +Homepage = "https://github.com/sim0nx/python-openhab" |
| 33 | +Download = "https://github.com/sim0nx/python-openhab" |
| 34 | +Tracker = "https://github.com/sim0nx/python-openhab/issues" |
| 35 | +Documentation = "http://python-openhab.readthedocs.io/en/latest/?badge=latest" |
| 36 | +Source = "https://github.com/sim0nx/python-openhab" |
| 37 | + |
| 38 | +[project.optional-dependencies] |
| 39 | +docs = [ |
| 40 | + "mkdocs-material", |
| 41 | + "mkdocstrings", |
| 42 | +] |
| 43 | +dev = [ |
| 44 | + "pylint", |
| 45 | + "mypy", |
| 46 | + "flake8", |
| 47 | + "flake8-comprehensions", |
| 48 | + "flake8-docstrings", |
| 49 | + "types-python-dateutil", |
| 50 | + "types-requests", |
| 51 | +] |
| 52 | +test = [ |
| 53 | + "pytest", |
| 54 | + "coverage", |
| 55 | + "beautifulsoup4", |
| 56 | +] |
| 57 | + |
5 | 58 | [tool.setuptools_scm]
|
| 59 | + |
| 60 | +[tool.setuptools] |
| 61 | +include-package-data = true |
| 62 | + |
| 63 | +[tool.setuptools.packages] |
| 64 | +find = { namespaces = false } |
| 65 | + |
| 66 | +[tool.setuptools.package-data] |
| 67 | +openhab = ["py.typed"] |
| 68 | + |
| 69 | +[tool.mypy] |
| 70 | +show_error_context = true |
| 71 | +show_column_numbers = true |
| 72 | +ignore_missing_imports = true |
| 73 | +disallow_incomplete_defs = true |
| 74 | +disallow_untyped_defs = true |
| 75 | +disallow_untyped_calls = false |
| 76 | +warn_no_return = true |
| 77 | +warn_redundant_casts = true |
| 78 | +warn_unused_ignores = true |
| 79 | +strict_optional = true |
| 80 | +check_untyped_defs = false |
0 commit comments