-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (38 loc) · 1.46 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
"""
Meter Reader
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Meter Reader is a client library and command line tool for retrieving
smart meter data from an Eagle Energy Gateway.
:copyright: (c) 2017 by Emmanuel Levijarvi
:license: BSD 2-Clause
"""
from setuptools import setup, find_packages
import os
project_dir = os.path.abspath(os.path.dirname(__file__))
description = ('Client Library for retreiving smart meter data from an '
'Eagle Energy Gateway')
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='meter-reader',
version='1.1.2',
description=description,
long_description='\n\n'.join(long_descriptions),
author='Emmanuel Levijarvi',
author_email='emansl@gmail.com',
url='https://github.com/eman/meter_reader',
license="BSD",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Home Automation',
'Topic :: Utilities',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
keywords='energy electricity smartmeter HAN',
packages=find_packages(),
entry_points={'console_scripts': ['mr=meter_reader.client:main']},)