Merge branch 'master' into funding
[wolnelektury.git] / wolnelektury / settings / static.py
index e1e8594..cdfb30a 100644 (file)
@@ -1,5 +1,5 @@
 from os import path
-from settings.paths import PROJECT_DIR
+from .paths import PROJECT_DIR
 
 # Absolute path to the directory that holds media.
 # Example: "/home/media/media.lawrence.com/"
@@ -30,9 +30,13 @@ PIPELINE_CSS = {
             'css/catalogue.css',
             'sponsors/css/sponsors.css',
             'css/auth.css',
+            'funding/funding.scss',
+            'css/form.scss',
 
             'css/social/shelf_tags.css',
             'css/ui-lightness/jquery-ui-1.8.16.custom.css',
+
+            'css/annoy.css',
         ],
         'output_filename': 'css/compressed/all.css',
     },
@@ -45,6 +49,8 @@ PIPELINE_CSS = {
     'book': {
         'source_filenames': [
             'css/master.book.css',
+
+            'css/annoy.css',
         ],
         'output_filename': 'css/compressed/book.css',
     },
@@ -80,8 +86,9 @@ PIPELINE_JS = {
             'pdcounter/pdcounter.js',
             'sponsors/js/sponsors.js',
             'player/openplayer.js',
-
             'js/search.js',
+
+            'js/annoy.js',
             ),
         'output_filename': 'js/base.min.js',
     },
@@ -100,6 +107,8 @@ PIPELINE_JS = {
             'js/jquery.highlightfade.js',
             'js/book.js',
             'player/openplayer.js',
+
+            'js/annoy.js',
         ],
         'output_filename': 'js/book.min.js',
     },
@@ -113,3 +122,9 @@ PIPELINE_JS = {
 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
 PIPELINE_CSS_COMPRESSOR = None
 PIPELINE_JS_COMPRESSOR = None
+
+PIPELINE_COMPILERS = (
+    'pyscss_compiler.PySCSSCompiler',
+)
+PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss'
+PIPELINE_PYSCSS_ARGUMENTS = ''