diff setup.py @ 0:5169fce2d144 upstream

Import ElementTree (1.3a3-20070912-preview).
author Bastian Blank <bblank@thinkmo.de>
date Fri, 30 May 2008 18:02:30 +0200
parents
children 34be1290ac0b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Fri May 30 18:02:30 2008 +0200
@@ -0,0 +1,44 @@
+#!/usr/bin/env python
+#
+# Setup script for the elementtree library
+# $Id: setup.py 3239 2007-08-31 06:35:09Z fredrik $
+#
+# Usage: python setup.py install
+#
+
+from distutils.core import setup
+
+try:
+    # add download_url syntax to distutils
+    from distutils.dist import DistributionMetadata
+    DistributionMetadata.classifiers = None
+    DistributionMetadata.download_url = None
+except:
+    pass
+
+DESCRIPTION="ElementTree - a light-weight XML object model for Python."
+
+LONG_DESCRIPTION="""\
+The Element type is a flexible container object, designed to store
+hierarchical data structures in memory.  Element structures can be
+converted to and from XML."""
+
+setup(
+    name="elementtree",
+    version=open("VERSION").read().strip(),
+    author="Fredrik Lundh",
+    author_email="fredrik@pythonware.com",
+    url="http://effbot.org/zone/element-index.htm",
+    description=DESCRIPTION,
+    long_description=LONG_DESCRIPTION,
+    download_url="http://effbot.org/downloads#elementtree",
+    license="Python (MIT style)",
+    packages=["elementtree"],
+    platforms="Python 1.5.2 and later.",
+    classifiers=[
+        "Development Status :: 6 - Mature",
+        "Operating System :: OS Independent",
+        "Topic :: Text Processing :: Markup :: HTML",
+        "Topic :: Text Processing :: Markup :: XML",
+        ]
+    )