Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 54 lines (49 sloc) 1.971 kb
ffac8a6 Tony Garnock-Jones Update licensing to dual MPL/GPL
tonyg authored
1 # ***** BEGIN LICENSE BLOCK *****
2 #
4085f5c Marek Simpify license even more.
majek authored
3 # For copyright and licensing please refer to COPYING.
ffac8a6 Tony Garnock-Jones Update licensing to dual MPL/GPL
tonyg authored
4 #
5 # ***** END LICENSE BLOCK *****
f596386 Tony Garnock-Jones Switch from distutils to setuptools, for develop support
tonyg authored
6 from setuptools import setup
9e914d1 Include tornado when building docs on readthedocs
Gavin M. Roy authored
7 import os
3216739 Update for conditional unittest2 use
Gavin M. Roy authored
8 import platform
9
9e914d1 Include tornado when building docs on readthedocs
Gavin M. Roy authored
10 # Conditionally include additional modules for docs
11 on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
12 requirements = list()
13 if on_rtd:
14 requirements.append('tornado')
1b3105d Add pika.frame coverage
Gavin M. Roy authored
15
3216739 Update for conditional unittest2 use
Gavin M. Roy authored
16 # Conditional include unittest2 for versions of python < 2.7
17 tests_require=['nose', 'mock']
18 platform_version = list(platform.python_version_tuple())[0:2]
fb51406 Michael Laing Fixed logic reversal error for inclusion of unittest2
michaelplaing authored
19 if platform_version[0] != '3' and platform_version != ['2', '7']:
3216739 Update for conditional unittest2 use
Gavin M. Roy authored
20 tests_require.append('unittest2')
d514dce Tony Garnock-Jones Initial revision
tonyg authored
21
3216739 Update for conditional unittest2 use
Gavin M. Roy authored
22 long_description = ('Pika is a pure-Python implementation of the AMQP 0-9-1 '
23 'protocol that tries to stay fairly independent of the '
24 'underlying network support library. Pika was developed '
25 'primarily for use with RabbitMQ, but should also work '
26 'with other AMQP 0-9-1 brokers.')
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
27
9f79520 Tony Garnock-Jones The great renaming
tonyg authored
28 setup(name='pika',
3380566 Fix an unintended API change where a channel object was not returned fro...
Gavin M. Roy authored
29 version='0.9.7p0',
9f79520 Tony Garnock-Jones The great renaming
tonyg authored
30 description='Pika Python AMQP Client Library',
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
31 long_description=long_description,
d514dce Tony Garnock-Jones Initial revision
tonyg authored
32 author='Tony Garnock-Jones',
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
33 author_email='tonygarnockjones@gmail.com',
87ebdc1 Update the setup.py to reflect the maintainer and current version, clean...
Gavin M. Roy authored
34 maintainer='Gavin M. Roy',
de1ea25 setup.py: Reflect updated information and fix tests related info
Gavin M. Roy authored
35 maintainer_email='gmr@meetme.com',
36 url='https://github.com/pika ',
d46c10a Add the adapters package
Gavin M. Roy authored
37 packages=['pika', 'pika.adapters'],
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
38 license='MPL v1.1 and GPL v2.0 or newer',
9e914d1 Include tornado when building docs on readthedocs
Gavin M. Roy authored
39 install_requires=requirements,
3216739 Update for conditional unittest2 use
Gavin M. Roy authored
40 tests_require=tests_require,
de1ea25 setup.py: Reflect updated information and fix tests related info
Gavin M. Roy authored
41 test_suite = "nose.collector",
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
42 classifiers=[
de1ea25 setup.py: Reflect updated information and fix tests related info
Gavin M. Roy authored
43 'Development Status :: 4 - Beta',
acb0230 Tony Garnock-Jones Further changes for pypi
tonyg authored
44 'Intended Audience :: Developers',
45 'License :: OSI Approved :: GNU General Public License (GPL)',
46 'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
47 'Operating System :: OS Independent',
48 'Topic :: Communications',
49 'Topic :: Internet',
50 'Topic :: Software Development :: Libraries',
51 ],
9109379 Add that its zip safe
Gavin M. Roy authored
52 zip_safe=True
d514dce Tony Garnock-Jones Initial revision
tonyg authored
53 )
Something went wrong with that request. Please try again.