forked from basho/riak_pb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·30 lines (27 loc) · 1.02 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
#!/usr/bin/env python
from setuptools import setup
from proto_cmd import build_proto, clean_proto
import re
# Get the riak_pb app version
appfile = open('src/riak_pb.app.src').read()
version = re.search(r"vsn.*\"([^\"]+)\"", appfile).group(1)
setup(name='riak_pb',
version=version,
description='Riak Protocol Buffers Messages',
packages=['riak_pb'],
requires=['protobuf(==2.4.1)'],
install_requires=['protobuf==2.4.1'],
options={'easy_install': {'allow_hosts': 'pypi.python.org'}},
license='Apache 2',
platforms='Platform Independent',
author='Basho Technologies',
author_email='[email protected]',
url='https://github.com/basho/riak_pb',
zip_safe=True,
classifiers=['License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Database'],
cmdclass={'build_proto': build_proto,
'clean': clean_proto}
)