forked from jesserizzo/envoy_reader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
77 lines (68 loc) · 1.7 KB
/
setup.py
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setup_requirements = [
"pytest-runner>=5.2",
]
test_requirements = [
"pytest-asyncio",
"black>=19.10b0",
"codecov>=2.1.4",
"flake8>=3.8.3",
"flake8-debugger>=3.2.1",
"pytest>=5.4.3",
"pytest-cov>=2.9.0",
"pytest-raises>=0.11",
"respx>=0.16.3",
]
dev_requirements = [
*setup_requirements,
*test_requirements,
"bump2version>=1.0.1",
"coverage>=5.1",
"ipython>=7.15.0",
"m2r2>=0.2.7",
"pytest-runner>=5.2",
"Sphinx>=3.4.3",
"sphinx_rtd_theme>=0.5.1",
"tox>=3.15.2",
"twine>=3.1.1",
"wheel>=0.34.2",
]
requirements = [
"httpx>=0.20",
"envoy-utils>=0.0.1",
"beautifulsoup4>=4.10.0",
"pyjwt==2.1.0",
]
extra_requirements = {
"setup": setup_requirements,
"test": test_requirements,
"dev": dev_requirements,
"all": [
*requirements,
*dev_requirements,
],
}
setuptools.setup(
name="envoy_reader",
version="0.21.3",
author="Jesse Rizzo",
author_email="[email protected]",
description="A program to read from an Enphase Envoy on the local network",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/jesserizzo/envoy_reader",
packages=setuptools.find_packages(),
install_requires=requirements,
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
extras_require=extra_requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)