Update of /cvsroot/pypgsql/pypgsql
In directory sc8-pr-cvs1:/tmp/cvs-serv12183
Modified Files:
setup.py
Log Message:
25APR2003 gh Added changes for registration with the Python Package
index (PyPI) (http://python.org/pypi).
Index: setup.py
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/setup.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** setup.py 1 Dec 2002 16:14:11 -0000 1.20
--- setup.py 25 Apr 2003 00:34:03 -0000 1.21
***************
*** 45,48 ****
--- 45,50 ----
# Date Ini Description |
# --------- --- ------------------------------------------------------- |
+ # 25APR2003 gh Added changes for registration with the Python Package |
+ # index (PyPI) (http://python.org/pypi). |
# 01DEC2002 gh Simplified build process and got rid of setup.config. |
# setup.config prevented the bdist_rpm command of dist- |
***************
*** 151,154 ****
--- 153,174 ----
library_dirs = ["/usr/local/lib"]
+ # 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
+
+ classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Other Environment",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: Python License (CNRI Python License)",
+ "Natural Language :: English",
+ "Operating System :: Microsoft :: Windows :: Windows 95/98/2000",
+ "Operating System :: POSIX",
+ "Programming Language :: C",
+ "Programming Language :: Python",
+ "Topic :: Database :: Front-Ends"]
+
setup (
name = "pyPgSQL",
***************
*** 168,172 ****
runtime_library_dirs = pypgsql_rt_dirs,
libraries = optional_libs
! )]
)
--- 188,193 ----
runtime_library_dirs = pypgsql_rt_dirs,
libraries = optional_libs
! )],
! classifiers = classifiers
)
|