|
| 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