aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 741a517..1427d67 100644
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,20 @@
2EventMQ setup.py file for distribution 2EventMQ setup.py file for distribution
3 3
4""" 4"""
5import ast
5 6
6from setuptools import find_packages, setup 7from setuptools import find_packages, setup
7 8
9version = 'unknown'
10with open('eventmq/__init__.py') as f:
11 for line in f:
12 if line.startswith('__version__'):
13 version = ast.parse(line).body[0].value.s
14 break
15
8setup( 16setup(
9 name='eventmq', 17 name='eventmq',
10 version='0.3.8', 18 version=version,
11 description='EventMQ job execution and messaging system based on ZeroMQ', 19 description='EventMQ job execution and messaging system based on ZeroMQ',
12 packages=find_packages(), 20 packages=find_packages(),
13 install_requires=['pyzmq==15.4.0', 21 install_requires=['pyzmq==15.4.0',