-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (35 loc) · 1.16 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='modbus_logger',
version=1.1,
description='Read GPIO and logger status '+
'and store in local database.',
long_description=readme,
url='https://github.com/GuillermoElectrico/Digital-Inputs-Logger-Pi',
download_url='',
author='Guillermo Electrico',
author_email='[email protected]',
platforms='Raspberry Pi',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: GNU License v3',
'Operating System :: Raspbian',
'Programming Language :: Python :: 3.5'
],
keywords='Digital Inputs Logger Pi',
install_requires=[]+(['setuptools', 'pyyaml', 'ez_setup', 'influxdb', 'RPi.GPIO'] if "linux" in sys.platform else []),
license='MIT',
packages=[],
include_package_data=True,
tests_require=[],
test_suite='',
zip_safe=True)