FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
html5lib-python/setup.py at gcode-157 · html5lib/html5lib-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
html5lib
/
html5lib-python
Public
Notifications
You must be signed in to change notification settings
Fork
308
Star
1.2k
Code
Issues
84
Pull requests
20
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
html5lib-python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (35 loc) · 1.53 KB
Breadcrumbs
html5lib-python
/
setup.py
Copy path
File metadata and controls
41 lines (35 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
from
distutils
.
core
import
setup
import
os
long_description
=
"""HTML parser designed to follow the WHATWG HTML
specification. The parser is designed to handle all flavours of HTML and
parses invalid documents using well-defined error handling rules compatible
with the behaviour of major desktop web browsers.
Output is to a tree structure; the current release supports output to
DOM, ElementTree, and lxml tree formats as well as a
simple custom format"""
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: MIT License'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python'
,
'Programming Language :: Python :: 2'
,
'Programming Language :: Python :: 3'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
'Topic :: Text Processing :: Markup :: HTML'
]
packages
=
[
'html5lib'
]
+
[
'html5lib.'
+
name
for
name
in
os
.
listdir
(
os
.
path
.
join
(
'html5lib'
))
if
os
.
path
.
isdir
(
os
.
path
.
join
(
'html5lib'
,
name
))
and
not
name
.
startswith
(
'.'
)
and
name
!=
'tests'
]
setup
(
name
=
'html5lib'
,
version
=
'1.0b1'
,
url
=
'https://github.com/html5lib/html5lib-python'
,
license
=
"MIT License"
,
description
=
'HTML parser based on the WHATWG HTML specifcation'
,
long_description
=
long_description
,
classifiers
=
classifiers
,
maintainer
=
'James Graham'
,
maintainer_email
=
'james@hoppipolla.co.uk'
,
packages
=
packages
)
Back
|
FazBrowse Home
|
New Git URL