forked from rxwen/python-terncy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (34 loc) · 1.2 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
assert sys.version >= "3.6", "Requires Python v3.6 or above."
def read(filename):
with open(filename, "r") as file_handle:
return file_handle.read()
with open("terncy/version.py") as f:
exec(f.read())
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
]
setup(
name="terncy",
version=__version__,
author="Ruixiong Wen",
author_email="[email protected]",
url="https://github.com/rxwen/python-terncy/",
description="A Python library for controlling Terncy home automation system.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license="MIT",
classifiers=classifiers,
packages=["terncy"],
install_requires=["enum-compat", "future"],
test_suite="terncy.tests",
tests_require=[],
)