root/projects/Twisted-Goodies/trunk/setup.py

Revision 58, 3.7 kB (checked in by edsuom, 1 year ago)

Updated Twisted-Goodies to use asynqueue package instead of what used to be its own taskqueue subpackage

Line 
1 #!/usr/bin/env python
2 #
3 # Twisted Goodies:
4 # Miscellaneous add-ons and improvements to the separately maintained and
5 # licensed Twisted (TM) asynchronous framework. Permission to use the name was
6 # graciously granted by Twisted Matrix Laboratories, http://twistedmatrix.com.
7 #
8 # Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com
9 #
10 # This program is free software; you can redistribute it and/or modify it under
11 # the terms of the GNU General Public License as published by the Free Software
12 # Foundation; either version 2 of the License, or (at your option) any later
13 # version.
14 #
15 # This program is distributed in the hope that it will be useful, but WITHOUT
16 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17 # FOR A PARTICULAR PURPOSE.  See the file COPYING for more details.
18 #
19 # You should have received a copy of the GNU General Public License along with
20 # this program; if not, write to the Free Software Foundation, Inc., 51
21 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22
23 NAME = "Twisted-Goodies"
24
25
26 ### Imports and support
27 import ez_setup, postsetup
28 ez_setup.use_setuptools()
29 from setuptools import setup, find_packages
30
31
32 ### Define requirements
33 required = ['AsynQueue']
34
35
36 ### Define setup options
37 kw = {'version':'0.4',
38       'license':'GPL',
39       'platforms':'OS Independent',
40
41       'url':"http://foss.eepatents.com/%s/" % NAME,
42       'author':'Edwin A. Suominen',
43       'author_email':'ed@eepatents.com',
44      
45       'maintainer':'Edwin A. Suominen',
46       'maintainer_email':'ed@eepatents.com',
47
48       'install_requires':required,
49       'packages':find_packages(exclude=["*.test"]),
50       'scripts':['pat2pdf'],
51      
52       'zip_safe':True
53       }
54
55 kw['keywords'] = [
56     'Twisted', 'asynchronous',
57     'web', 'fetch', 'patent', 'wget']
58
59 kw['classifiers'] = [
60     'Development Status :: 4 - Beta',
61     'Intended Audience :: Developers',
62     'Intended Audience :: System Administrators',
63     'License :: OSI Approved :: GNU General Public License (GPL)',
64     'Operating System :: OS Independent',
65     'Programming Language :: Python',
66     'Topic :: Software Development :: Libraries :: Python Modules',
67     ]
68
69 kw['description'] = " ".join("""
70 Asynchronous HTTP fetching, cluster management, and other goodies for the
71 Twisted framework.
72 """.split("\n"))
73
74 kw['long_description'] = """
75 The Twisted (TM) asynchronous processing framework is made even more powerful
76 with this package of goodies:
77
78 +---------------+-------------------------------------------------------------+
79 | Sub-Package   | Description                                                 |
80 +===============+=============================================================+
81 | webfetch      | Fetching of web server content including PDFs of patent and |
82 |               | published patent applications from the USPTO servers.       |
83 +---------------+-------------------------------------------------------------+
84 | simpleserver  | Simple but entirely useful HTTP, SMTP, and POP3 servers     |
85 +---------------+-------------------------------------------------------------+
86 | misc          | Miscellaneous goodies, including a deferred tracker for     |
87 |               | waiting on the firing of one or more deferreds without      |
88 |               | needing references to them, a mixing for restricting        |
89 |               | client addresses for your server factories, and a multi-    |
90 |               | privilege Perspective Broker factory                        |
91 +---------------+-------------------------------------------------------------+
92
93 Twisted-Goodies is maintained and licensed separately from the Twisted
94 framework. The name is used by permission.
95 """
96
97 ### Finally, run the setup
98 setup(name=NAME, **kw)
99 postsetup.run(NAME, 'simpleserver', 'simpleserver')
Note: See TracBrowser for help on using the browser.