-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (60 loc) · 2.02 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
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import io
from setuptools import setup, find_packages
# Package meta-data.
NAME = 'nest_reset'
VERSION = '0.1.3'
DESCRIPTION = "Simple CLI tool to listen for changes in NEST thermostat and reset the temperature back"
AUTHOR = "Visesh Prasad"
EMAIL = '[email protected]'
URL = 'https://github.com/viseshrp/nest_reset'
REQUIRES_PYTHON = ">=2.7"
REQUIREMENTS = ['future>=0.15.2', 'Click>=6.0', 'python-nest==4.0.5']
SETUP_REQUIREMENTS = []
TEST_REQUIREMENTS = []
with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
README = readme_file.read()
with io.open('HISTORY.rst', 'r', encoding='utf-8') as history_file:
HISTORY = history_file.read()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=README + '\n\n' + HISTORY,
keywords='nest_reset nest nest-reset',
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(include=['nest_reset']),
include_package_data=True,
license="MIT license",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
entry_points={
'console_scripts': [
'nest-reset=nest_reset.__main__:main',
],
},
python_requires=REQUIRES_PYTHON,
install_requires=REQUIREMENTS,
setup_requires=SETUP_REQUIREMENTS,
test_suite='tests',
tests_require=TEST_REQUIREMENTS,
zip_safe=False,
)