-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (26 loc) · 908 Bytes
/
setup.py
File metadata and controls
29 lines (26 loc) · 908 Bytes
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"]
test_dependencies = ["pytest", "pytest-asyncio"] + dependencies
with open("README.md", "r") as fh:
README = fh.read()
setup(
name="carbonintensity",
version="0.3.0",
author="Jorge Cruz Lambert",
author_email="jscl@pm.me",
description="Home Assistant Client library for Carbon Intensity API",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/jscruz/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",
],
)