Skip to content
This repository
Newer
Older
100644 73 lines (64 sloc) 2.1 kb
73ae00a3 » hannosch
2014-06-19 vb
1 __version__ = '2.0.1'
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
2
3 import os
ea239610 » hannosch
2012-09-19 mangle build setup to install less stuff under Python 3.2
4 import sys
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
5
6 from setuptools import setup, find_packages
7
8 here = os.path.abspath(os.path.dirname(__file__))
9 with open(os.path.join(here, 'README.rst')) as f:
10 README = f.read()
11 with open(os.path.join(here, 'CHANGES.rst')) as f:
12 CHANGES = f.read()
13
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
14 PYTHON3 = sys.version_info > (3, )
15 PYPY = getattr(sys, 'pypy_version_info', False) and True or False
16
fb0db8e7 » hannosch
2014-03-14 Remove zope.interface dependency, closes #131.
17 install_requires = []
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
18
054c5fee » bbangert
2012-05-25 Documentation updates.
19 tests_require = install_requires + [
ff290aa6 » hannosch
2012-07-12 add a very simple makefile to bootstrap a dev environment
20 'coverage',
21 'mock',
22 'nose',
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
23 ]
ea239610 » hannosch
2012-09-19 mangle build setup to install less stuff under Python 3.2
24
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
25 if not (PYTHON3 or PYPY):
ea239610 » hannosch
2012-09-19 mangle build setup to install less stuff under Python 3.2
26 tests_require += [
27 'gevent',
054c5fee » bbangert
2012-05-25 Documentation updates.
28 ]
29
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
30 on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
fe83db06 » bbangert
2012-05-30 Install gevent on RTD.
31 if on_rtd:
054c5fee » bbangert
2012-05-25 Documentation updates.
32 install_requires.extend([
b763e5f6 » bbangert
2012-06-15 Install necessary extension on RTD
33 'gevent',
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
34 ])
35
36 setup(
37 name='kazoo',
38 version=__version__,
39 description='Higher Level Zookeeper Client',
40 long_description=README + '\n\n' + CHANGES,
41 classifiers=[
1242fcef » hannosch
2012-08-17 claim production readiness in classifiers
42 "Development Status :: 5 - Production/Stable",
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
43 "License :: OSI Approved :: Apache Software License",
44 "Intended Audience :: Developers",
45 "Operating System :: OS Independent",
46 "Programming Language :: Python",
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
47 "Programming Language :: Python :: 2",
6195f185 » hannosch
2012-06-06 specify supported Python versions
48 "Programming Language :: Python :: 2.6",
49 "Programming Language :: Python :: 2.7",
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
50 "Programming Language :: Python :: 3",
8f90fd72 » hannosch
2012-09-21 note Python 3.3 compatibility
51 "Programming Language :: Python :: 3.3",
ae781874 » hannosch
2014-06-06 Start testing against Python 3.4 and update to gevent 1.0.1.
52 "Programming Language :: Python :: 3.4",
37adaf8d » hannosch
2012-09-22 Test and declare PyPy compatibility
53 "Programming Language :: Python :: Implementation :: CPython",
54 "Programming Language :: Python :: Implementation :: PyPy",
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
55 "Topic :: Communications",
56 "Topic :: System :: Distributed Computing",
57 "Topic :: System :: Networking",
58 ],
59 keywords='zookeeper lock leader configuration',
577ecac4 » hannosch
2012-10-10 do some namedropping and state a more general `Kazoo team` as the author
60 author="Kazoo team",
d6e8a7b8 » hannosch
2013-02-24 add link to new mailing list
61 author_email="python-zk@googlegroups.com",
9bde1f2c » hannosch
2012-10-13 use the same homepage in setup.py and debian/control
62 url="https://kazoo.readthedocs.org",
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
63 license="Apache 2.0",
64 packages=find_packages(),
ea48aff8 » bbangert
2012-06-25 Add zookeeper to install list
65 test_suite="kazoo.tests",
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
66 include_package_data=True,
67 zip_safe=False,
054c5fee » bbangert
2012-05-25 Documentation updates.
68 install_requires=install_requires,
69 tests_require=tests_require,
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
70 extras_require={
9aaf7035 » hannosch
2012-06-06 expose tests_require as a test extra
71 'test': tests_require,
386fc4f1 » bbangert
2012-05-23 Initial commit and project structure
72 },
73 )
Something went wrong with that request. Please try again.