disable PDF and MOBI by default
# KeywordAnalyzer
# Initialize jvm
# KeywordAnalyzer
# Initialize jvm
+JVM = initVM(CLASSPATH, maxheap=settings.JVM_MAXHEAP)
* `Python 2.6+ <http://python.org>`_
* Everyting from the ``requirements.txt`` file
* a library for your database of choice
* `Python 2.6+ <http://python.org>`_
* Everyting from the ``requirements.txt`` file
* a library for your database of choice
- (see `DBs supported by Django <http://docs.djangoproject.com/en/dev/topics/install/#get-your-database-running>`_)
-* `puLucene <https://github.com/fnp/pylucene/>`_ for search
-* Librarian dependencies, see lib/librarian/README.md
+ (see `DBs supported by Django <http://docs.djangoproject.com/en/dev/topics/install/#get-your-database-running>`_)
+* `pyLucene <https://github.com/fnp/pylucene/>`_ for search
+* Librarian dependencies for generating PDF and MOBI files,
+ see lib/librarian/README.md
HONEYPOT_FIELD_NAME = 'miut'
HONEYPOT_FIELD_NAME = 'miut'
+PAGINATION_INVALID_PAGE_RAISES_404 = True
+THUMBNAIL_QUALITY = 95
+TRANSLATION_REGISTRY = "wolnelektury.translation"
-PAGINATION_INVALID_PAGE_RAISES_404 = True
-THUMBNAIL_QUALITY = 95
-TRANSLATION_REGISTRY = "wolnelektury.translation"
-
-
# seconds until a changes appears in the changes api
API_WAIT = 10
# limit number of filtering tags
MAX_TAG_LIST = 6
# seconds until a changes appears in the changes api
API_WAIT = 10
# limit number of filtering tags
MAX_TAG_LIST = 6
NO_BUILD_EPUB = False
NO_BUILD_TXT = False
NO_BUILD_EPUB = False
NO_BUILD_TXT = False
-NO_BUILD_PDF = False
-NO_BUILD_MOBI = False
-NO_SEARCH_INDEX = False
+# You'll need XeLaTeX to generate PDF files.
+NO_BUILD_PDF = True
+# You'll need Calibre installed to generate MOBI files.
+NO_BUILD_MOBI = True
ALL_EPUB_ZIP = 'wolnelektury_pl_epub'
ALL_PDF_ZIP = 'wolnelektury_pl_pdf'
ALL_EPUB_ZIP = 'wolnelektury_pl_epub'
ALL_PDF_ZIP = 'wolnelektury_pl_pdf'
# set to 'new' or 'old' to skip time-consuming test
# for TeX morefloats library version
LIBRARIAN_PDF_MOREFLOATS = None
# set to 'new' or 'old' to skip time-consuming test
# for TeX morefloats library version
LIBRARIAN_PDF_MOREFLOATS = None
+
+# Max memory used by search
+JVM_MAXHEAP = '256m'