- packages=['librarian'],
- package_data={'librarian': ['xslt/*.xslt', 'epub/*']},
+ packages=find_packages(where="src"),
+ package_dir={"": "src"},
+ package_data={'librarian': ['xslt/*.xslt', 'xslt/*.xml', 'epub/*', 'pdf/*', 'fb2/*', 'fonts/*'] +
+ whole_tree(os.path.join(os.path.dirname(__file__), 'src/librarian'), 'res') +
+ whole_tree(os.path.join(os.path.dirname(__file__), 'src/librarian'), 'font-optimizer')},