Thomas Waldmann avatar Thomas Waldmann committed 3603f1e use setuptools, add more metadata for pypi

Comments (0)

Files changed (1)

 #!/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 <>`_.
+from setuptools import setup
 DESCRIPTION="EmeraldTree - a light-weight XML object model for Python."
-    version="undefined",
+    version="0.9.0",
+    url='',
+    download_url = "",
     author="Bastian Blank",
+    keywords=["xml", "html", "element", "tree", "dom", "unicode", ],
+    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',
+    ],
     platforms="Python 2.4 and later.",
-    )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.