|
From: <ian...@us...> - 2003-04-08 03:26:32
|
Update of /cvsroot/sqlobject/SQLObject
In directory sc8-pr-cvs1:/tmp/cvs-serv17293
Modified Files:
setup.py
Log Message:
Added more information (for PyPI)
Index: setup.py
===================================================================
RCS file: /cvsroot/sqlobject/SQLObject/setup.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** setup.py 8 Apr 2003 03:08:00 -0000 1.5
--- setup.py 8 Apr 2003 03:26:29 -0000 1.6
***************
*** 1,10 ****
from distutils.core import setup
setup(name="SQLObject",
version="0.3",
! description="Object-Relational Manager",
author="Ian Bicking",
author_email="ia...@co...",
! url="http://www.colorstudy.com/software/SQLObject/",
license="LGPL",
! packages=["SQLObject"])
--- 1,33 ----
from distutils.core import setup
+
+ 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
+
setup(name="SQLObject",
version="0.3",
! description="Object-Relational Manager, aka database wrapper",
! long_description="""\
! Classes created using SQLObject wrap database rows, presenting a
! friendly-looking Python object instead of a database/SQL interface.
! Emphasizes convenience. Works with MySQL, Postgres, SQLite, and a
! native anydbm-based backend. Requires Python 2.2+.
! """,
! classifiers=["Development Status :: 4 - Beta",
! "Indended 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="ia...@co...",
! url="http://sqlobject.org",
license="LGPL",
! packages=["SQLObject"],
! download_url="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3.tar.gz?download")
|