[Zope-CVS] CVS: StandaloneZConfig - setup.py:1.4
Fred L. Drake, Jr.
fred@zope.com
Mon, 31 Mar 2003 11:26:49 -0500
Update of /cvs-repository/StandaloneZConfig
In directory cvs.zope.org:/tmp/cvs-serv686
Modified Files:
setup.py
Log Message:
Add more package metadata, for use with the distutils "register"
command (new in Python 2.2.3 and 2.3); this supports the Python
Package Index (http://www.python.org/pypi/).
=== StandaloneZConfig/setup.py 1.3 => 1.4 ===
--- StandaloneZConfig/setup.py:1.3 Mon Mar 24 16:08:24 2003
+++ StandaloneZConfig/setup.py Mon Mar 31 11:26:48 2003
@@ -1,12 +1,52 @@
#!/usr/bin/env python
+import sys
+
from distutils.core import setup
+# 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
+
+LONG_DESCRIPTION = '''\
+ZConfig is a configuration library intended for general use. It
+supports a hierarchical schema-driven configuration model that allows
+a schema to specify data conversion routines written in Python.
+ZConfig\'s model is very different from the model support by the
+ConfigParser module found in Python\'s standard library, and is more
+suitable to configuration-intensive applications.
+
+ZConfig schema are written in an XML-based language and are able to
+"import" schema components provided by Python packages. Since
+components are able to bind to conversion functions provided by Python
+code in the package (or elsewhere), configuration objects can be
+arbitrarily complex, with values that have been verified against
+arbitrary constraints. This makes it easy for applications to
+separate configuration support from configuration loading even with
+configuration data being defined and consumed by a wide range of
+separate packages.'''
+
+VERSION = "1.0"
+
setup(name="ZConfig",
- version="1.0",
+ version=VERSION,
description="Structured Configuration Library",
author="Fred Drake",
author_email="fred@zope.com",
url="http://cvs.zope.org/Packages/ZConfig/",
packages=['ZConfig', 'ZConfig.tests'],
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "Intended Audience :: System Administrators",
+ "License :: OSI Approved :: Zope Public License",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ ],
+ download_url=("http://www.zope.org/Members/fdrake/zconfig/"
+ "ZConfig-%s.tar.gz" % VERSION),
+ long_description=LONG_DESCRIPTION,
)