Depend on >= 0.9.4 cocaine
[elliptics.git] / setup.py
blob62d0bcf89a4bc59db9fa00b0a40a98c5302ac54e
1 #!/usr/bin/env python
3 from distutils.core import setup
5 vstr = '0.0.1'
6 try:
7 f = open('CMakeLists.txt')
9 for qstr in f:
10 if 'ELLIPTICS_VERSION_ABI' in qstr:
11 vstr = qstr.split()[1].split(')')[0].strip('"')
12 break
13 f.close()
14 except:
15 pass
17 setup(name='elliptics',
18 version=vstr,
19 description='Elliptics - client library for distributed storage system',
20 url='http://www.ioremap.net/projects/elliptics',
21 package_dir = {'': 'bindings/python'},
22 py_modules=['elliptics'],
23 license = 'GPLv2',