forked from jscruz/carbonintensity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (26 loc) · 1.07 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
"""Setup configuration."""
from setuptools import setup, find_packages
dependencies = ["aiohttp", "numpy"]
test_dependencies = ["pytest", "pytest-asyncio"] + dependencies
with open("README.md", "r") as fh:
README = fh.read()
setup(
name="carbonintensityforked",
version="0.0.3",
author="Original work by Jorge Cruz-Lambert with additions by Jean-François Paris & Alan Gore",
author_email="[email protected]",
description="Home Assistant Client library for Carbon Intensity API - Adds work by jfparis and alanmcgore to expose additional forecasts and percentage renewables",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/alanmcgore/carbonintensity",
packages=find_packages(),
install_requires=dependencies,
setup_requires=["pytest-runner"],
tests_require=test_dependencies,
extras_require={"test": test_dependencies},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)