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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
__version__ = '0.3'
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.rst')) as f:
CHANGES = f.read()
install_requires = [
'zope.interface >= 3.8.0', # has zope.interface.registry
]
tests_require = install_requires + [
'coverage',
'docutils',
'gevent',
'mock',
'nose',
'repoze.sphinx.autointerface',
'Sphinx',
]
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
install_requires.extend([
'gevent',
'repoze.sphinx.autointerface',
])
setup(
name='kazoo',
version=__version__,
description='Higher Level Zookeeper Client',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Communications",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Networking",
],
keywords='zookeeper lock leader configuration',
author="Nimbus team, Zope Corporation, Mozilla Foundation",
author_email="",
url="http://kazoo.readthedocs.org/",
license="Apache 2.0",
packages=find_packages(),
test_suite="kazoo.tests",
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points="""
"""
)
|