-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
59 lines (45 loc) · 1.29 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
#!/usr/bin/env python
import sys
from setuptools import setup
module_name = 'pflow'
# Dependencies
install_requires = [
'argparse',
'networkx', # writing graphml files
'gevent',
#'haigha', # amqp
'pyparsing', # fbp grammar
'gevent-websocket', # fbp network runtime
'python-coveralls', # code coverage
# Component-specific stuff
'requests',
'sh',
'pymongo'
]
# Test dependencies
test_requires = [
]
# Dependencies: Python 3.x backports for 2.x
if sys.version_info.major < 3:
install_requires.append('enum34') # enum.Enum
test_requires.append('mock') # mock (now in unittest.mock)
# Sets __version__
execfile('%s/version.py' % module_name)
setup(
name=module_name,
version=__version__,
author='Chris Lyon',
author_email='[email protected]',
description='%s - Flow Based Programming for Python' % module_name,
long_description=open('README.md').read(),
url='https://github.com/Flushot/%s' % module_name,
license='Apache License 2.0',
classifiers=[
'Intended Audience :: Developers'
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: Apache Software License',
],
install_requires=install_requires,
test_suite=module_name,
tests_require=test_requires
)