[df70dc]: setup.py Maximize Restore History

Download this file

setup.py    128 lines (103 with data), 3.7 kB

  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
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# ez_setup doesn't work with Python 2.2, so we use distutils
# in that case:
try:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
is_setuptools = True
except ImportError:
from distutils.core import setup
is_setuptools = False
subpackages = ['firebird', 'include', 'include.pydispatch', 'inheritance',
'manager', 'maxdb', 'mysql', 'mssql', 'postgres', 'sqlite',
'sybase', 'util', 'versioning']
import sys
# patch distutils if it can't cope with the "classifiers" keyword
if sys.version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
kw = {}
if is_setuptools:
kw['entry_points'] = """
[paste.filter_app_factory]
main = sqlobject.wsgi_middleware:make_middleware
"""
setup(name="SQLObject",
version="0.10.0b2",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
object interface to your database, with tables as classes, rows as
instances, and columns as attributes.
SQLObject includes a Python-object-based query language that makes SQL
more abstract, and provides substantial database independence for
applications.
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB).
For development see the `subversion repository
<http://svn.colorstudy.com/SQLObject/branches/0.10>`_
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
],
author="Ian Bicking",
author_email="ianb@colorstudy.com",
url="http://sqlobject.org/devel/",
download_url="http://cheeseshop.python.org/pypi/SQLObject/0.10.0b2",
license="LGPL",
packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin"],
install_requires=["FormEncode>=0.2.2"],
extras_require={
'mysql': ['MySQLdb'],
'postgresql': ['psycopg'], # or pgdb from PyGreSQL
'sqlite': ['pysqlite'],
'firebird': ['kinterbasdb'],
'sybase': ['Sybase'],
'mssql': ['adodbapi'], # or pymssql
'sapdb': ['sapdb'],
},
**kw
)
# Send announce to:
# sqlobject-discuss@lists.sourceforge.net
# python-announce@python.org
# python-list@python.org
# db-sig@python.org
# Email tempate:
"""
@@ INTRO
What is SQLObject
=================
SQLObject is an object-relational mapper. Your database tables are described
as classes, and rows are instances of those classes. SQLObject is meant to be
easy to use and quick to get started with.
SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, and
Firebird. It also has newly added support for Sybase, MSSQL and MaxDB (also
known as SAPDB).
Where is SQLObject
==================
Site:
http://sqlobject.org
Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss
Archives:
http://news.gmane.org/gmane.comp.python.sqlobject
Download:
http://cheeseshop.python.org/pypi/SQLObject/@@
News and changes:
http://sqlobject.org/docs/News.html
What's New
==========
@@ CHANGES
For a more complete list, please see the news:
http://sqlobject.org/docs/News.html
--
Ian Bicking / ianb@colorstudy.com / http://blog.ianbicking.org
"""