~corey.bryant/ubuntu/wily/python-pyscss/thedac

« back to all changes in this revision

Viewing changes to scss/config.py

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2014-06-26 12:10:36 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140626121036-3dv13zn5zptk9fpx
Tags: 1.2.0.post3-1
* Team upload.
* New upstream release (Closes: #738776).
* Added a debian/gbp.conf.
* Added missing ${python:Depends}
* Added Python 3 support.
* Removed duplicate debhelper build-depends.
* Cannonical VCS URLs.
* Standards-Version: is now 3.9.5.
* Added a watch file.
* override dh helpers which the package doesn't use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
################################################################################
2
2
# Configuration:
 
3
DEBUG = False
 
4
VERBOSITY = 1
3
5
 
4
6
import os
5
7
PROJECT_ROOT = os.path.normpath(os.path.dirname(os.path.abspath(__file__)))
 
8
 
6
9
# Sass @import load_paths:
7
10
LOAD_PATHS = os.path.join(PROJECT_ROOT, 'sass/frameworks')
 
11
 
 
12
# Assets path, where new sprite files are created (defaults to STATIC_ROOT + '/assets'):
 
13
ASSETS_ROOT = None
 
14
# Cache files path, where cache files are saved (defaults to ASSETS_ROOT):
 
15
CACHE_ROOT = None
8
16
# Assets path, where new sprite files are created:
9
17
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
10
 
# Assets path, where new sprite files are created:
11
 
ASSETS_ROOT = os.path.join(PROJECT_ROOT, 'static/assets')
 
18
FONTS_ROOT = None  # default: STATIC_ROOT
 
19
IMAGES_ROOT = None  # default: STATIC_ROOT
 
20
 
12
21
# Urls for the static and assets:
13
 
STATIC_URL = '/static/'
14
 
ASSETS_URL = '/static/assets/'
15
 
VERBOSITY = 1
16
 
DEBUG = 0
 
22
ASSETS_URL = 'static/assets/'
 
23
STATIC_URL = 'static/'
 
24
FONTS_URL = None  # default: STATIC_URL
 
25
IMAGES_URL = None  # default: STATIC_URL
 
26
 
 
27
# Rendering style. Available values are 'nested', 'expanded', 'compact', 'compressed' and 'legacy' (defaults to 'nested'):
 
28
STYLE = 'nested'
 
29
 
 
30
# Use a different scope inside control structures create a scope (defaults to create new scopes for control structures, same as Sass):
 
31
CONTROL_SCOPING = True
 
32
 
 
33
# Throw fatal errors when finding undefined variables:
 
34
FATAL_UNDEFINED = True
 
35
 
 
36
SPRTE_MAP_DIRECTION = 'vertical'