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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
#!/usr/bin/env python
#
# sAsync:
# An enhancement to the SQLAlchemy package that provides persistent
# dictionaries, text indexing and searching, and an access broker for
# conventiently managing database access, table setup, and
# transactions. Everything can be run in an asynchronous fashion using the
# Twisted framework and its deferred processing capabilities.
#
# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the file COPYING for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
NAME = "sAsync"
### Imports and support
#import ez_setup
#ez_setup.use_setuptools()
from setuptools import setup
### Define requirements
required = ['SQLAlchemy>=0.3', 'AsynQueue']
### Define setup options
kw = {'version':'0.7',
'license':'GPL',
'platforms':'OS Independent',
'url':"http://foss.eepatents.com/%s/" % NAME,
'author':'Edwin A. Suominen',
'author_email':'ed@eepatents.com',
'maintainer':'Edwin A. Suominen',
'maintainer_email':'ed@eepatents.com',
'install_requires':required,
'packages':['sasync'],
'zip_safe':True
}
kw['keywords'] = [
'SQL', 'SQLAlchemy', 'Twisted', 'asynchronous',
'persist', 'persistence', 'persistent',
'object oriented', 'ORM', 'database', 'graph']
kw['classifiers'] = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: SQL',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules',
]
kw['description'] = " ".join("""
SQLAlchemy done Asynchronously, with a convenient transacting database access
broker and persistent dictionaries, arrays, and graphs.
""".split("\n"))
kw['long_description'] = " ".join("""
An enhancement to the SQLAlchemy package that provides asynchronous,
deferred-result access via the Twisted framework and an access broker that
conveniently managing database access, table setup, and transactions. Included
are modules for implementing persistent dictionaries, three-dimensional arrays,
and graph objects.
""".split("\n"))
### Finally, run the setup
setup(name=NAME, **kw)
|