forked from AppDaemon/appdaemon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
98 lines (86 loc) · 2.82 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[project]
name = "appdaemon"
description="Apps for the Home Assistant home automation package."
readme = "README.md"
authors = [
{name = "Andrew I Cockburn", email = "[email protected]"},
]
dynamic = ["version"] # The verison is computed dynamically. See `tool.setuptools.dynamic` section below.
license= { file = "LICENSE.md" }
requires-python = ">=3.8"
keywords=[ "appdaemon", "home", "automation" ]
dependencies = [
'importlib-metadata; python_version<"3.8"',
'aiohttp ~= 3.8.4',
'aiohttp_jinja2 ~= 1.5.1',
'astral ~= 3.2',
'bcrypt ~= 4.0.1',
'deepdiff ~= 6.2.3',
'feedparser ~= 6.0.10',
'iso8601 ~= 1.1.0',
'paho-mqtt ~= 1.6.1',
'pid ~= 3.0.4',
'python-dateutil ~= 2.8.2',
'python-socketio ~= 5.5.0',
'pytz ~= 2022.7.1',
'pyyaml ~= 6.0',
'requests ~= 2.28.2',
'sockjs ~= 0.11.0',
'uvloop==0.17.0; sys_platform != "win32"',
'websocket-client ~= 1.5.1',
'tomli ~= 2.0.1'
]
classifiers= [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Home Automation",
]
[project.urls]
documentation = "https://appdaemon.readthedocs.io"
repository = "https://github.com/AppDaemon"
changelog = "https://github.com/AppDaemon/appdaemon/blob/master/docs/HISTORY.rst"
# Declare development dependencies as optional
[project.optional-dependencies]
dev = [
"pip-tools ~= 6.12.3",
"build ~= 0.10.0",
"flake8 ~= 6.0.0",
"black ~= 23.1.0",
'pre-commit ~= 3.1.1; python_version>"3.7"', # pre-commit does not support Python < 3.8
"pytest ~= 7.2.1"
]
# Dependencies required to build the documentation using sphinx
doc = [
"sphinx-autobuild ~= 2021.3.14",
"sphinx-rtd-theme ~= 1.2.0",
"pygments ~= 2.14.0"
]
# Define the main CLI script
[project.scripts]
appdaemon = "appdaemon.__main__:main"
# Use setuptools as the build system
[build-system]
requires = ["setuptools >= 61.0.0"]
build-backend = "setuptools.build_meta"
# Tell setuptools how to find the package source files
# https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
[tool.setuptools.packages.find]
exclude = ["contrib", "docs", "docs.*", "tests*"]
# Dynamically read version from version.py module
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata
[tool.setuptools.dynamic]
version = {attr = "appdaemon.version.__version__"}
# Taken from: https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
# black configuration
[tool.black]
line-length = 120