Make sure Pillow uses ImageFont.LAYOUT_BASIC because of https://github.com/python...
[librarian.git] / setup.py
index 53cc182..d497bf1 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -32,14 +32,21 @@ setup(
     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')},
+                                whole_tree(os.path.join(os.path.dirname(__file__), 'src/librarian'), 'font-optimizer') +
+                                whole_tree(os.path.join(os.path.dirname(__file__), 'src/librarian'), 'locale')},
     include_package_data=True,
     install_requires=[
         'lxml>=2.2,<=4.3',
         'Pillow',
         'six',
         'texml',
+        'ebooklib',
     ],
+    entry_points = {
+        "console_scripts": [
+            "librarian=librarian.command_line:main"
+        ]
+    },
     scripts=['scripts/book2html',
              'scripts/book2txt',
              'scripts/book2epub',