| 1 |
#!/usr/bin/env python |
|---|
| 2 |
# |
|---|
| 3 |
# AsynQueue: |
|---|
| 4 |
# Asynchronous task queueing based on the Twisted framework, with task |
|---|
| 5 |
# prioritization and a powerful worker/manager interface. |
|---|
| 6 |
# |
|---|
| 7 |
# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com |
|---|
| 8 |
# |
|---|
| 9 |
# This program is free software; you can redistribute it and/or modify it under |
|---|
| 10 |
# the terms of the GNU General Public License as published by the Free Software |
|---|
| 11 |
# Foundation; either version 2 of the License, or (at your option) any later |
|---|
| 12 |
# version. |
|---|
| 13 |
# |
|---|
| 14 |
# This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 15 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|---|
| 16 |
# FOR A PARTICULAR PURPOSE. See the file COPYING for more details. |
|---|
| 17 |
# |
|---|
| 18 |
# You should have received a copy of the GNU General Public License along with |
|---|
| 19 |
# this program; if not, write to the Free Software Foundation, Inc., 51 |
|---|
| 20 |
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|---|
| 21 |
|
|---|
| 22 |
NAME = "AsynQueue" |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
### Imports and support |
|---|
| 26 |
import ez_setup |
|---|
| 27 |
ez_setup.use_setuptools() |
|---|
| 28 |
from setuptools import setup, find_packages |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
### Define setup options |
|---|
| 32 |
kw = {'version':'0.3', |
|---|
| 33 |
'license':'GPL', |
|---|
| 34 |
'platforms':'OS Independent', |
|---|
| 35 |
|
|---|
| 36 |
'url':"http://foss.eepatents.com/%s/" % NAME, |
|---|
| 37 |
'author':'Edwin A. Suominen', |
|---|
| 38 |
'author_email':'ed@eepatents.com', |
|---|
| 39 |
|
|---|
| 40 |
'maintainer':'Edwin A. Suominen', |
|---|
| 41 |
'maintainer_email':'ed@eepatents.com', |
|---|
| 42 |
|
|---|
| 43 |
'packages':find_packages(exclude=["*.test"]), |
|---|
| 44 |
'zip_safe':True |
|---|
| 45 |
} |
|---|
| 46 |
|
|---|
| 47 |
kw['keywords'] = [ |
|---|
| 48 |
'Twisted', 'asynchronous', 'threads', |
|---|
| 49 |
'taskqueue', 'queue', 'priority', 'tasks', 'jobs', 'nodes', 'cluster'] |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
kw['classifiers'] = [ |
|---|
| 53 |
'Development Status :: 4 - Beta', |
|---|
| 54 |
|
|---|
| 55 |
'Intended Audience :: Developers', |
|---|
| 56 |
'Intended Audience :: Science/Research', |
|---|
| 57 |
|
|---|
| 58 |
'License :: OSI Approved :: GNU General Public License (GPL)', |
|---|
| 59 |
'Operating System :: OS Independent', |
|---|
| 60 |
'Programming Language :: Python', |
|---|
| 61 |
|
|---|
| 62 |
'Topic :: System :: Distributed Computing', |
|---|
| 63 |
'Topic :: Software Development :: Object Brokering', |
|---|
| 64 |
'Topic :: Software Development :: Libraries :: Python Modules', |
|---|
| 65 |
] |
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 |
kw['description'] = " ".join(""" |
|---|
| 69 |
Asynchronous task queueing based on the Twisted framework. |
|---|
| 70 |
""".split("\n")) |
|---|
| 71 |
|
|---|
| 72 |
kw['long_description'] = " ".join(""" |
|---|
| 73 |
Asynchronous task queueing based on the Twisted framework, with task |
|---|
| 74 |
prioritization and a powerful worker/manager interface. Worker implementations |
|---|
| 75 |
are included for running tasks via threads, separate Python interpreters, and |
|---|
| 76 |
remote worker nodes. |
|---|
| 77 |
""".split("\n")) |
|---|
| 78 |
|
|---|
| 79 |
### Finally, run the setup |
|---|
| 80 |
setup(name=NAME, **kw) |
|---|