Revert "Migrate as much as possible to pip and requirements.txt"

This reverts commit 982594a4a5.
This commit is contained in:
rembo10
2016-01-29 15:38:12 +00:00
parent 3c015990c5
commit 2110eb9855
1195 changed files with 196887 additions and 81 deletions

25
lib/html5lib/__init__.py Normal file
View File

@@ -0,0 +1,25 @@
"""
HTML parsing library based on the WHATWG "HTML5"
specification. The parser is designed to be compatible with existing
HTML found in the wild and implements well-defined error recovery that
is largely compatible with modern desktop web browsers.
Example usage:
import html5lib
f = open("my_document.html")
tree = html5lib.parse(f)
"""
from __future__ import absolute_import, division, unicode_literals
from .html5parser import HTMLParser, parse, parseFragment
from .treebuilders import getTreeBuilder
from .treewalkers import getTreeWalker
from .serializer import serialize
__all__ = ["HTMLParser", "parse", "parseFragment", "getTreeBuilder",
"getTreeWalker", "serialize"]
# this has to be at the top level, see how setup.py parses this
__version__ = "0.999999"