-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (25 loc) · 994 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os
data_files = []
start_point = os.path.join('bayeosdevice', 'static')
for root, dirs, files in os.walk(start_point):
root_files = [os.path.join(root, i) for i in files]
data_files.append((root, root_files))
start_point = os.path.join('bayeosdevice', 'templates')
for root, dirs, files in os.walk(start_point):
root_files = [os.path.join(root, i) for i in files]
data_files.append((root, root_files))
setup(name='python-bayeosdevice',
version='1.4.3',
classifiers=['Programming Language :: Python'],
description='Python BayEOS Device Web Library',
url='http://github.com/BayCEER/python-bayeosdevice',
author='Oliver Archner',
author_email='[email protected]',
license='GPL2',
packages=['bayeosdevice'],
data_files = data_files,
install_requires=['tornado'])