-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
36 lines (32 loc) · 1.03 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
import os
import re
from setuptools import setup
REQUIRES = [
'requests>=2,<3',
'pyyaml>=3.11,<4'
]
PACKAGE_NAME = 'insteon-hub'
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, PACKAGE_NAME.split('-')[0], 'const.py')) as fp:
VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)
setup(
name = PACKAGE_NAME,
version = VERSION,
author = "Dean Galvin",
author_email = "[email protected]",
description = ("A python package that interacts with the Insteon Hub Cloud API"),
license = "MIT",
keywords = ["insteon", "hub", "cloud"],
url = "https://github.com/FreekingDean/insteon-hub",
packages=['insteon'],
include_package_data=True,
install_requires=REQUIRES,
classifiers=[
'Intended Audience :: Developers',
"Development Status :: 3 - Alpha",
"Topic :: Home Automation",
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
"License :: OSI Approved :: MIT License",
],
)