-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·35 lines (32 loc) · 1.1 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
#!/usr/bin/env python
import os
from setuptools import setup
project_dir = os.path.abspath(os.path.dirname(__file__))
long_descriptions = []
for rst in ('README.rst', 'LICENSE.rst'):
with open(os.path.join(project_dir, rst), 'r') as f:
long_descriptions.append(f.read())
setup(name='iotrelay_nest',
version='1.0.1',
description='IoT Relay plugin for the Nest Thermostat',
long_description='\n\n'.join(long_descriptions),
author='Emmanuel Levijarvi',
author_email='emansl@gmail.com',
install_requires=['iotrelay', 'PyNest'],
url='https://github.com/eman/iotrelay-nest',
license='BSD',
py_modules=['iotrelay_nest'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords='IoT Relay Nest Temerature Humidity',
entry_points={
'iotrelay': ['source=iotrelay_nest:Poll']
}
)