- url='http://redmine.nowoczesnapolska.org.pl/',
- packages=['librarian', 'tests'],
- package_dir={'librarian': 'librarian', 'tests': 'tests'},
- package_data={
- 'librarian': ['*.xslt'],
- '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',
+ 'mutagen',
+ 'qrcode',
+ 'requests',
+ 'fonttools',
+ ],
+ entry_points = {
+ "console_scripts": [
+ "librarian=librarian.command_line:main"
+ ]