[Zconfig] SVN: ZConfig/trunk/setup.py - update version number

Fred L. Drake, Jr. fdrake at gmail.com
Thu Aug 30 23:02:13 EDT 2007


Log message for revision 79390:
  - update version number
  - avoid duplicating README.txt text
  

Changed:
  U   ZConfig/trunk/setup.py

-=-
Modified: ZConfig/trunk/setup.py
===================================================================
--- ZConfig/trunk/setup.py	2007-08-31 02:49:37 UTC (rev 79389)
+++ ZConfig/trunk/setup.py	2007-08-31 03:02:13 UTC (rev 79390)
@@ -1,39 +1,19 @@
-from setuptools import setup
-name = "ZConfig"
+from setuptools import find_packages, setup
 
-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 supported 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.
-"""
-
 setup(
-    name = name,
-    version = "2.4a6",
-    author = "Fred L. Drake, Jr.",
-    author_email = "fred at zope.com",
-    description = "Structured Configuration Library",
-    long_description=long_description,
-    license = "ZPL 2.1",
+    name="ZConfig",
+    version="2.5.0",
+    author="Fred L. Drake, Jr.",
+    author_email="fred at zope.com",
+    description="Structured Configuration Library",
+    long_description=open("README.txt").read(),
+    license="ZPL 2.1",
     url='http://www.zope.org/Members/fdrake/zconfig/',
 
-    packages = ['ZConfig'],
-    include_package_data = True,
-    zip_safe = False,
-    classifiers = [
+    packages=find_packages("."),
+    include_package_data=True,
+    zip_safe=False,
+    classifiers=[
       'Intended Audience :: Developers',
       'Intended Audience :: System Administrators',
       'License :: OSI Approved :: Zope Public License',



More information about the ZConfig mailing list