forked from basho/riak-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (40 loc) · 1.31 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
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python
import glob
import os
import subprocess
import platform
from setuptools import setup, find_packages
def make_docs():
if not os.path.exists('docs'):
os.mkdir('docs')
subprocess.call(['pydoc', '-w', 'riak'])
for name in glob.glob('*.html'):
os.rename(name, 'docs/%s' % name)
install_requires = ["riak_pb >=1.2.0, < 1.3.0"]
requires = ["riak_pb(>=1.2.0,<1.3.0)"]
tests_require = []
if platform.python_version() < '2.7':
tests_require.append("unittest2")
setup(
name='riak',
version='1.5.1',
packages = find_packages(),
requires = requires,
install_requires = install_requires,
tests_require = tests_require,
package_data = {'riak' : ['erl_src/*']},
description='Python client for Riak',
zip_safe=True,
options={'easy_install': {'allow_hosts': 'pypi.python.org'}},
include_package_data=True,
license='Apache 2',
platforms='Platform Independent',
author='Basho Technologies',
author_email='clients@basho.com',
test_suite='riak.tests.suite',
url='https://github.com/basho/riak-python-client',
classifiers = ['License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Database']
)