source: exist/trunk/python/elementtree-1.3a6-20070220-badc/setup.py @ 3578

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/exist/trunk/python/elementtree-1.3a6-20070220-badc/setup.py@3578
Revision 3578, 1.3 KB checked in by pjkersha, 11 years ago (diff)

Latest releases from Fredrik Lundh. 10 March release has exclusive C14N support with namespace prefixes.

Line 
1#!/usr/bin/env python
2#
3# Setup script for the elementtree library
4# $Id: setup.py 3377 2008-02-13 08:17:57Z fredrik $
5#
6# Usage: python setup.py install
7#
8
9from distutils.core import setup
10
11try:
12    # add download_url syntax to distutils
13    from distutils.dist import DistributionMetadata
14    DistributionMetadata.classifiers = None
15    DistributionMetadata.download_url = None
16except:
17    pass
18
19DESCRIPTION="ElementTree - a light-weight XML object model for Python."
20
21LONG_DESCRIPTION="""\
22The Element type is a flexible container object, designed to store
23hierarchical data structures in memory.  Element structures can be
24converted to and from XML."""
25
26setup(
27    name="elementtree",
28    version=open("VERSION").read().strip(),
29    author="Fredrik Lundh",
30    author_email="fredrik@pythonware.com",
31    url="http://effbot.org/zone/element-index.htm",
32    description=DESCRIPTION,
33    long_description=LONG_DESCRIPTION,
34    download_url="http://effbot.org/downloads#elementtree",
35    license="Python (MIT style)",
36    packages=["elementtree"],
37    platforms="Python 2.3 and later.",
38    classifiers=[
39        "Development Status :: 6 - Mature",
40        "Operating System :: OS Independent",
41        "Topic :: Text Processing :: Markup :: HTML",
42        "Topic :: Text Processing :: Markup :: XML",
43        ]
44    )
Note: See TracBrowser for help on using the repository browser.