obvious crash avoidance fixes
[librarian.git] / setup.py
index f88817e..a5f105d 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -29,8 +29,9 @@ setup(
     maintainer_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     url='http://github.com/fnp/librarian',
     packages=['librarian'],
     maintainer_email='radoslaw.czajka@nowoczesnapolska.org.pl',
     url='http://github.com/fnp/librarian',
     packages=['librarian'],
-    package_data={'librarian': ['xslt/*.xslt', 'epub/*', 'mobi/*', 'pdf/*', 'fonts/*', 'res/*'] +
-                                whole_tree(os.path.join(os.path.dirname(__file__), 'librarian'), 'font-optimizer')},
+    package_data={'librarian': ['xslt/*.xslt', 'epub/*', 'mobi/*', 'pdf/*', 'fb2/*', 'fonts/*'] +
+                                whole_tree(os.path.join(os.path.dirname(__file__), 'librarian'), 'font-optimizer') +
+                                whole_tree(os.path.join(os.path.dirname(__file__), 'librarian'), 'res')},
     include_package_data=True,
     install_requires=['lxml>=2.2'],
     scripts=['scripts/book2html',
     include_package_data=True,
     install_requires=['lxml>=2.2'],
     scripts=['scripts/book2html',
@@ -38,6 +39,7 @@ setup(
              'scripts/book2epub',
              'scripts/book2mobi',
              'scripts/book2pdf',
              'scripts/book2epub',
              'scripts/book2mobi',
              'scripts/book2pdf',
+             'scripts/book2fb2',
              'scripts/book2partner',
              'scripts/book2cover',
              'scripts/bookfragments',
              'scripts/book2partner',
              'scripts/book2cover',
              'scripts/bookfragments',