Description: Define COMPRESS_ROOT
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-09-10

Index: python-django-pyscss/testproject/testproject/settings.py
===================================================================
--- python-django-pyscss.orig/testproject/testproject/settings.py
+++ python-django-pyscss/testproject/testproject/settings.py
@@ -108,6 +108,26 @@ COMPRESS_PRECOMPILERS = (
     ('text/x-scss', 'django_pyscss.compressor.DjangoScssFilter'),
 )
 
+COMPRESS_ROOT = os.path.join(BASE_DIR, 'testproject/testproject/static/css/css_file.css')
+COMPRESS_URL = '/static/'
+COMPRESS_DEBUG_TOGGLE = True
+COMPRESS_OFFLINE = False
+COMPRESSORS = dict(
+        css="compressor.css.CssCompressor",
+        js="compressor.js.JsCompressor",
+    )
+COMPRESS_FILTERS={"css": ["compressor.filters.css_default.CssRelativeFilter"]}
+COMPRESS_OUTPUT_DIR='/tmp'
+COMPRESS_PARSER='compressor.parser.AutoSelectParser'
+COMPRESS_CACHE_KEY_FUNCTION='compressor.cache.simple_cachekey'
+COMPRESS_CACHE_BACKEND='default'
+COMPRESS_VERBOSE=True
+COMPRESS_STORAGE_ALIAS='compressor'
+COMPRESS_STORAGE='compressor.storage.CompressorFileStorage'
+COMPRESS_MTIME_DELAY=10
+COMPRESS_REBUILD_TIMEOUT=300
+COMPRESS_MINT_DELAY=30
+
 STATICFILES_FINDERS = (
     'compressor.finders.CompressorFinder',
     'django.contrib.staticfiles.finders.FileSystemFinder',
