File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11from distutils .core import setup
2+ import os
23
34long_description = """HTML parser designed to follow the WHATWG HTML5
45specification. The parser is designed to handle all flavours of HTML and
2021 ],
2122
2223setup (name = 'html5lib' ,
23- version = '0.2 ' ,
24+ version = '0.3 ' ,
2425 url = 'http://code.google.com/p/html5lib/' ,
2526 license = "MIT License" ,
2627 description = 'HTML parser based on the WHAT-WG Web Applications 1.0'
2930 classifiers = classifiers ,
3031 maintainer = 'James Graham' ,
3132 maintainer_email = 'jg307@cam.ac.uk' ,
32- packages = ['html5lib' , 'html5lib.treebuilders' ],
33- package_dir = {'html5lib' : 'src' }
33+ packages = ['html5lib' ] + ['html5lib.' + name
34+ for name in os .listdir (os .path .join ('src' ,'html5lib' ))
35+ if os .path .isdir (os .path .join ('src' ,'html5lib' ,name )) and
36+ not name .startswith ('.' )],
37+ package_dir = {'html5lib' : 'src/html5lib' }
3438 )
Original file line number Diff line number Diff line change 11from distutils .core import setup
2+ import os
23
34long_description = """HTML parser designed to follow the WHATWG HTML5
45specification. The parser is designed to handle all flavours of HTML and
2930 classifiers = classifiers ,
3031 maintainer = 'James Graham' ,
3132 maintainer_email = 'jg307@cam.ac.uk' ,
32- packages = ['html5lib' , 'html5lib.treebuilders' ],
33- package_dir = {'html5lib' : 'src' }
33+ packages = ['html5lib' ] + ['html5lib.' + name
34+ for name in os .listdir (os .path .join ('src' ,'html5lib' ))
35+ if os .path .isdir (os .path .join ('src' ,'html5lib' ,name )) and
36+ not name .startswith ('.' )],
37+ package_dir = {'html5lib' : 'src/html5lib' }
3438 )
You can’t perform that action at this time.
0 commit comments