forked from mardiros/python-synapse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (28 loc) · 1007 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
#!/usr/bin/env python
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
# CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
with open(os.path.join(here, 'synapse', '__init__.py')) as v_file:
version = re.compile(r".*__version__ = '(.*?)'",
re.S).match(v_file.read()).group(1)
requires = ['pyzmq >= 2.1.1',
'gevent_zeromq == 0.2.0',
'redis',
'gevent == 0.13.6',
'simplejson']
setup(name='synapse',
version=version,
description='Distributed communication module',
long_description=README, # + '\n\n' + CHANGES,
author='Greg Leclercq',
author_email='greg@0x80.net',
url='http://github.org/ggreg/python-synapse',
packages=find_packages(),
install_requires=requires,
tests_require=requires,
zip_safe=False,
test_suite='synapse'
)