-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
66 lines (56 loc) · 1.72 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import os
from setuptools import setup
from setuptools import find_packages
version = '0.1'
# Package requirements
install_requires = [
'nose',
'coverage',
'protobuf',
'pyzmq',
]
def desc(*filenames):
"""Create long description."""
here = os.path.abspath(os.path.dirname(__file__))
def try_read(name):
path = os.path.join(here, name+'.rst')
try:
f = open(path, 'r')
except IOError:
return ''
else:
return f.read()
d = map(try_read, filenames)
return '\n\n'.join(d)
setup(
name='OxBerryPis',
version=version,
description="Process stock exchage data using a cluster of Raspberry Pis.",
long_description=desc('README'),
classifiers=[
'Development Status :: 1 - Planning',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business :: Financial',
'Topic :: System :: Clustering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Networking',
],
keywords='raspberry pi cluster stock',
author='Group 8',
author_email='[email protected]',
url='https://github.com/kuba/oxberrypis',
license='',
packages=find_packages(exclude=['tests*',]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points = {
'console_scripts': [
'oxberrypis-channel-parser = oxberrypis.scripts.parsers:channel_parser',
'oxberrypis-controller = oxberrypis.scripts.controller:main',
'oxberrypis-rpi = oxberrypis.scripts.rpi:main',
'oxberrypis-vis-test = oxberrypis.scripts.vis_test:main',
],
},
)