-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
36 lines (34 loc) · 1.21 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
from setuptools import setup
import os
# This ugly hack executes the first few lines of the module file to look up some
# common variables. We cannot just import the module because it depends on other
# modules that might not be installed yet.
filename = os.path.join(os.path.dirname(__file__), 'bottle_pika.py')
source = open(filename).read().split('### CUT HERE')[0]
exec(source)
setup(
name = 'bottle_pika',
version = __version__,
url = 'https://github.com/dbroudy/bottle-pika',
description = 'Pika plugin module for Bottle microframework',
long_description = __doc__,
keywords = 'bottle rabbitmq amqp pika messaging message queue',
author = 'David Broudy',
author_email = 'dave@broudy.net',
license = __license__,
platforms = 'any',
py_modules = [ 'bottle_pika' ],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Bottle',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires = [
'bottle >= 0.10',
'pika >= 0.9.13',
],
)