forked from titilambert/pyhydroquebec
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
36 lines (31 loc) · 1.15 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 sys
from setuptools import setup
from pyhydroquebec.__version__ import VERSION
if sys.version_info < (3,4):
sys.exit('Sorry, Python < 3.4 is not supported')
install_requires = list(val.strip() for val in open('requirements.txt'))
tests_require = list(val.strip() for val in open('test_requirements.txt'))
setup(name='pyhydroquebec',
version=VERSION,
description='Get your Hydro Quebec consumption (wwww.hydroquebec.com)',
author='Thibault Cohen',
author_email='[email protected]',
url='http://github.com/titilambert/pyhydroquebec',
package_data={'': ['LICENSE.txt']},
include_package_data=True,
packages=['pyhydroquebec'],
entry_points={
'console_scripts': [
'pyhydroquebec = pyhydroquebec.__main__:main',
'mqtt_pyhydroquebec = pyhydroquebec.__main__:mqtt_daemon'
]
},
license='Apache 2.0',
install_requires=install_requires,
tests_require=tests_require,
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)