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