annotate setup.py @ 88:2d7b39aaa590 0.9.1

setup.py: add keywords, README: add ET repo url
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 May 2012 20:43:53 +0200
parents a3095fd90fa5
children 3f325a667871
rev   line source
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
1 #!/usr/bin/env python
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
2 """
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
3 EmeraldTree, a light-weight toolkit for XML processing in Python
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
4 ================================================================
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
5
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
6 EmeraldTree is a fork of ElementTree - the main differences are:
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
7
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
8 * It has a slightly different API:
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
9
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
10 - Handling of text: it uses unicode objects as children (not as
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
11 "tail" attributes of the elements)
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
12
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
13 * API cleanups, removing backward compatibility
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
14
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
15 * Better unicode support
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
16
86
a3095fd90fa5 updated README / setup.py
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 85
diff changeset
17 * PolyglotWriter (for writing html5 that is also well-formed xml)
a3095fd90fa5 updated README / setup.py
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 85
diff changeset
18
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
19 * Other improvements / optimizations
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
20
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
21 The fork happened at ElementTree 1.3a3-20070912-preview.
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
22
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
23 For more details please see the `EmeraldTree repository <http://hg.moinmo.in/EmeraldTree/>`_.
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
24
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
25 """
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
26
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
27 from setuptools import setup
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
28
1
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
29 DESCRIPTION="EmeraldTree - a light-weight XML object model for Python."
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
30
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
31 setup(
1
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
32 name="emeraldtree",
85
ef22f92aa803 bump version number to 0.9.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 80
diff changeset
33 version="0.9.1",
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
34 url='http://hg.moinmo.in/EmeraldTree/',
85
ef22f92aa803 bump version number to 0.9.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 80
diff changeset
35 download_url = "http://static.moinmo.in/files/packages/emeraldtree-0.9.1.tar.gz",
1
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
36 author="Bastian Blank",
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
37 author_email="bblank@thinkmo.de",
88
2d7b39aaa590 setup.py: add keywords, README: add ET repo url
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 86
diff changeset
38 keywords=["xml", "html", "html5", "polyglot", "element", "tree", "dom", "unicode", ],
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
39 description=DESCRIPTION,
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
40 long_description=__doc__,
0
5169fce2d144 Import ElementTree (1.3a3-20070912-preview).
Bastian Blank <bblank@thinkmo.de>
parents:
diff changeset
41 license="Python (MIT style)",
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
42 classifiers=[
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
43 'Development Status :: 4 - Beta',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
44 'Operating System :: OS Independent',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
45 'Programming Language :: Python',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
46 'License :: OSI Approved :: Python Software Foundation License',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
47 'Intended Audience :: Developers',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
48 'Topic :: Text Processing :: Markup :: HTML',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
49 'Topic :: Text Processing :: Markup :: XML',
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
50 ],
1
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
51 packages=["emeraldtree"],
34be1290ac0b Rename module.
Bastian Blank <bblank@thinkmo.de>
parents: 0
diff changeset
52 platforms="Python 2.4 and later.",
80
3603f1e39613 setup.py: use setuptools, add more metadata for pypi
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 1
diff changeset
53 )
85
ef22f92aa803 bump version number to 0.9.1
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 80
diff changeset
54