- url='http://redmine.nowoczesnapolska.org.pl/',
- packages=['librarian', 'librarian.tests'],
- package_dir={'librarian': 'librarian'},
- package_data={
- 'librarian': ['*.xslt'],
- 'librarian.tests': ['files/dcparser/*.xml', 'files/erroneous/*.xml'],
+ maintainer='Radek Czajka',
+ maintainer_email='radekczajka@wolnelektury.pl',
+ url='http://github.com/fnp/librarian',
+ 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')},
+ include_package_data=True,
+ install_requires=[
+ 'lxml>=2.2,<5.0',
+ 'Pillow>=9.1.0',
+ 'texml',
+ 'ebooklib',
+ 'aeneas',
+ 'mutagen',
+ 'qrcode',
+ 'requests',
+ 'fonttools',
+ ],
+ entry_points = {
+ "console_scripts": [
+ "librarian=librarian.command_line:main"
+ ]