Skip to content

Commit fc60ac2

Browse files
committed
Add base setup file for generating packages
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40527
1 parent 9e29565 commit fc60ac2

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

setup_base.py

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
from distutils.core import setup
2+
3+
long_description="""HTML parser designed to follow the WHATWG HTML5
4+
specification. The parser is designed to handle all flavours of HTML and
5+
parses invalid documents using well-defined error handling rules compatible
6+
with the behaviour of major desktop web browsers.
7+
8+
Output is to a tree structure; the current release supports output to
9+
a custom tree similar to DOM and to ElementTree.
10+
"""
11+
12+
classifiers=[
13+
'Development Status :: %(status)s',
14+
'Intended Audience :: Developers',
15+
'License :: OSI Approved :: MIT License',
16+
'Operating System :: OS Independent',
17+
'Programming Language :: Python',
18+
'Topic :: Software Development :: Libraries :: Python Modules',
19+
'Topic :: Text Processing :: Markup :: HTML'
20+
],
21+
22+
setup(name='html5lib',
23+
version='%(version)s',
24+
url='http://code.google.com/p/html5lib/',
25+
license="MIT License",
26+
description='HTML parser based on the WHAT-WG Web Applications 1.0'
27+
'("HTML5") specifcation',
28+
long_description=long_description,
29+
classifiers=classifiers,
30+
maintainer='James Graham',
31+
maintainer_email='jg307@cam.ac.uk',
32+
packages=['html5lib', 'html5lib.treebuilders'],
33+
package_dir = {'html5lib': 'src'}
34+
)

0 commit comments

Comments
 (0)