changeset 80:3603f1e39613 0.9.0

setup.py: use setuptools, add more metadata for pypi
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Jan 2011 02:01:26 +0100
parents 922bd718352b
children b934a82bc42f
files setup.py
diffstat 1 files changed, 38 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun Aug 01 20:05:44 2010 +0200
+++ b/setup.py	Sat Jan 22 02:01:26 2011 +0100
@@ -1,16 +1,51 @@
 #!/usr/bin/env python
+"""
+EmeraldTree, a light-weight toolkit for XML processing in Python
+================================================================
 
-from distutils.core import setup
+EmeraldTree is a fork of ElementTree - the main differences are:
+
+* It has a slightly different API:
+
+  - Handling of text: it uses unicode objects as children (not as
+    "tail" attributes of the elements)
+
+* API cleanups, removing backward compatibility 
+
+* Better unicode support
+
+* Other improvements / optimizations
+
+The fork happened at ElementTree 1.3a3-20070912-preview.
+
+For more details please see the `EmeraldTree repository <http://hg.moinmo.in/EmeraldTree/>`_.
+
+"""
+
+from setuptools import setup
 
 DESCRIPTION="EmeraldTree - a light-weight XML object model for Python."
 
 setup(
     name="emeraldtree",
-    version="undefined",
+    version="0.9.0",
+    url='http://hg.moinmo.in/EmeraldTree/',
+    download_url = "http://static.moinmo.in/files/packages/emeraldtree-0.9.0.tar.gz",
     author="Bastian Blank",
     author_email="bblank@thinkmo.de",
+    keywords=["xml", "html", "element", "tree", "dom", "unicode", ],
     description=DESCRIPTION,
+    long_description=__doc__,
     license="Python (MIT style)",
+    classifiers=[
+        'Development Status :: 4 - Beta',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'License :: OSI Approved :: Python Software Foundation License',
+        'Intended Audience :: Developers',
+        'Topic :: Text Processing :: Markup :: HTML',
+        'Topic :: Text Processing :: Markup :: XML',
+    ],
     packages=["emeraldtree"],
     platforms="Python 2.4 and later.",
-    )
+)