This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
54 lines (46 loc) · 1.56 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
#!/usr/bin/env python
"""Setup aiosenseme library."""
from __future__ import print_function
import sys
from setuptools import find_packages, setup
__version__ = "Unknown"
exec(open("aiosenseme/version.py").read())
if sys.version_info < (3, 7):
error = """
aiosenseme supports Python 3.7 and above.
Python {py} detected.
Please install using pip3 on Python 3.7 or above.
""".format(
py=".".join([str(v) for v in sys.version_info[:3]])
)
print(error, file=sys.stderr)
sys.exit(1)
setup(
name="aiosenseme",
version=__version__,
description="SenseME by Big Ass Fans asynchronous Python library",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="mikelawrence, bdraco",
author_email="[email protected], [email protected]",
url="https://github.com/mikelawrence/aiosenseme",
packages=find_packages(),
include_package_data=True,
license="GPL3",
install_requires=["ifaddr>=0.1.7"],
entry_points={
"console_scripts": ["aiosenseme = aiosenseme.scripts.commandline:cli"],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Framework :: AsyncIO",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Home Automation",
],
keywords="Haiku HaikuHome SenseME fan home automation BigAssFans",
python_requires=">=3.7",
)