-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·30 lines (27 loc) · 829 Bytes
/
setup.py
File metadata and controls
executable file
·30 lines (27 loc) · 829 Bytes
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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import os
name="modbus_generator"
with open("README.md", 'r') as f:
description = f.read()
datadir = os.path.join('share', 'name', 'templates')
datafiles = [(d, [os.path.join(d,f) for f in files]) for d, folders, files in os.walk(datadir)]
setup(name=name,
version='1.0.2',
description=description,
url='https://github.com/snhobbs/ModbusRegisterMapping',
author='ElectroOptical Innovations, LLC.',
author_email='simon.hobbs@electrooptical.net',
license='MIT',
packages=find_packages(),
install_requires=[
'jinja2',
'click'
],
test_suite='nose.collector',
tests_require=['nose'],
scripts=("bin/modbus_generator",),
include_package_data=True,
zip_safe=True,
data_files=datafiles
)