forked from samuelphy/energy-meter-logger
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (35 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
37
import sys
from setuptools import setup
try:
import pypandoc
readme = pypandoc.convert('README.md', 'rst')
readme = readme.replace("\r", "")
except ImportError:
import io
with io.open('README.md', encoding="utf-8") as f:
readme = f.read()
setup(name='energy_meter_logger',
version=1.1,
description='Read Energy Meter data using RS485 Modbus '+
'and store in local database.',
long_description=readme,
url='https://github.com/GuillermoElectrico/energy-meter-logger',
download_url='',
author='Samuel Vestlin',
author_email='[email protected]',
platforms='Raspberry Pi',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: MIT License',
'Operating System :: Raspbian-armbian',
'Programming Language :: Python :: 3.5'
],
keywords='Energy Meter RS485 Modbus',
install_requires=['setuptools','pyyaml','ez_setup','pyserial','modbus_tk', 'influxdb-client'],
license='MIT',
packages=[],
include_package_data=True,
tests_require=[],
test_suite='',
zip_safe=True)