Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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