-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.py
39 lines (31 loc) · 954 Bytes
/
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
from setuptools import setup, find_packages
from modbus_simulator.version import __VERSION__
from setuptools.command.install import install
import sys
from modbus_simulator.version import __VERSION__
def install_requires():
with open('requirements') as reqs:
install_req = [
line for line in reqs.read().split('\n')
]
return install_req
def readme():
with open("README.md") as f:
return f.read()
setup(
name="modbus_simulator",
url="https://github.com/riptideio/modbus-simulator.git",
description="Modbus Simulator uing Kivy, Pymodbus, Modbus-tk",
version=__VERSION__,
long_description=readme(),
keywords="Modbus Simulator",
author="riptideio",
packages=find_packages(),
install_requires=install_requires(),
entry_points={
'console_scripts': [
'modbus.simu = modbus_simulator.main:_run',
],
},
include_package_data=True
)