- packages=['librarian'],
- package_data={'librarian': ['xslt/*.xslt', 'epub/*']},
+ packages=find_packages(),
+ package_data={
+ '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/*'],
+ },