forked from CJNE/pymyenergi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·37 lines (34 loc) · 1.04 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
#!/usr/bin/env python
import os
from setuptools import setup
version_file = open(os.path.join("pymyenergi", "VERSION"))
version = version_file.read().strip()
setup(
name="pymyenergi",
version=version,
author="Johan Isaksson",
author_email="[email protected]",
description="Python library and CLI for communicating with myenergi API.",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
package_data={"pymyenergi": ["VERSION"]},
include_package_data=True,
url="https://github.com/cjne/pymyenergi",
license="MIT",
packages=["pymyenergi"],
python_requires=">=3.6",
install_requires=["httpx", "pycognito"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Operating System :: OS Independent",
],
setup_requires=("pytest-runner"),
tests_require=(
"asynctest",
"pytest-cov",
"pytest-asyncio",
"pytest-trio",
"pytest-tornasync",
),
)