-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (45 loc) · 1.53 KB
/
setup.py
File metadata and controls
53 lines (45 loc) · 1.53 KB
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
import setuptools
from setuptools.command.test import test as TestCommand
import sys
import homepluscontrol
with open("README.md", "r") as fh:
long_description = fh.read()
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setuptools.setup(
name="homepluscontrol",
version=homepluscontrol.version,
author="chemaaa",
author_email="chemaaar@gmail.com",
description="Python-based API to interact with the Netatmo Connect Home + Control interface",
license="GPLv3",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/chemaaa/homepluscontrol",
packages=setuptools.find_packages(exclude=["test", "test.*"]),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Framework :: AsyncIO",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Home Automation",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.6",
install_requires=[
"aiohttp>=3.7.1",
"PyJWT>=1.7.1",
"yarl>=1.4.2",
],
)