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