- 'librarian': ['*.xslt'],
- 'librarian.tests': ['files/dcparser/*.xml', 'files/erroneous/*.xml'],
- },
- scripts=['scripts/book2html', 'scripts/book2txt', 'scripts/bookfragments', 'scripts/genslugs'],
+ 'librarian': ['xslt/*.xslt', 'epub/*', 'html/*', 'mobi/*', 'pdf/*', 'fb2/*', 'fonts/*', 'res/*'] +
+ whole_tree(os.path.join(os.path.dirname(__file__), 'librarian'), 'font-optimizer'),
+ 'librarian.formats.html': ['res/*'],
+ 'librarian.formats.epub': ['res/*'],
+ },
+ include_package_data=True,
+ install_requires=[
+ 'lxml>=2.2',
+ 'pillow',
+ 'Texml',
+ ],
+ scripts=['scripts/book2html',
+ 'scripts/book2txt',
+ 'scripts/book2epub',
+ 'scripts/book2mobi',
+ 'scripts/book2pdf',
+ 'scripts/book2fb2',
+ 'scripts/book2cover',
+ 'scripts/bookfragments',
+ 'scripts/genslugs'],
+ tests_require=['nose>=0.11', 'coverage>=3.0.1'],