~vcs-imports/sqlobject/trunk

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: ianb
  • Date: 2004-02-05 03:29:19 UTC
  • Revision ID: svn-v4:95a46c32-92d2-0310-94a5-8d71aeb3d4b3:trunk/SQLObject:1
Initial import of SQLObject and DataTest

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from distutils.core import setup
 
2
import warnings
 
3
warnings.filterwarnings("ignore", "Unknown distribution option")
 
4
 
 
5
import sys
 
6
# patch distutils if it can't cope with the "classifiers" keyword
 
7
if sys.version < '2.2.3':
 
8
    from distutils.dist import DistributionMetadata
 
9
    DistributionMetadata.classifiers = None
 
10
    DistributionMetadata.download_url = None
 
11
 
 
12
setup(name="SQLObject",
 
13
      version="0.5.1",
 
14
      description="Object-Relational Manager, aka database wrapper",
 
15
      long_description="""\
 
16
Classes created using SQLObject wrap database rows, presenting a
 
17
friendly-looking Python object instead of a database/SQL interface.
 
18
Emphasizes convenience.  Works with MySQL, Postgres, SQLite, Firebird.
 
19
Requires Python 2.2+.
 
20
""",
 
21
      classifiers=["Development Status :: 4 - Beta",
 
22
                   "Intended Audience :: Developers",
 
23
                   "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
 
24
                   "Programming Language :: Python",
 
25
                   "Topic :: Database",
 
26
                   "Topic :: Database :: Front-Ends",
 
27
                   "Topic :: Software Development :: Libraries :: Python Modules",
 
28
                   ],
 
29
      author="Ian Bicking",
 
30
      author_email="ianb@colorstudy.com",
 
31
      url="http://sqlobject.org",
 
32
      license="LGPL",
 
33
      packages=["SQLObject", "SQLObject.include"],
 
34
      download_url="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.5.1.tar.gz?download")
 
35
 
 
36
# Send announce to:
 
37
#   sqlobject-discuss@lists.sourceforge.net
 
38
#   db-sig@python.org
 
39
#   python-announce@python.org
 
40
#   python-list@python.org