Compass compiler for django-pipeline using the official Ruby Gem.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pipeline_compass
.gitignore
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

Django Pipeline Compass

Compass compiler for django-pipeline using the original Ruby Gem.

Requirements

  • Compass: gem install compass

Installation

# from PyPi
$ pip install django-pipeline-compass-rubygem

# from GitHub
$ pip install git+https://github.com/mila-labs/django-pipeline-compass-rubygem.git

Usage

COMPASS_BINARY and COMPASS_ARGUMENTS can be either a string or a list/tuple.

# settings.py

PIPELINE['COMPASS_BINARY'] = '/usr/local/bin/compass'        # default: ['/usr/bin/env', 'compass']
PIPELINE['COMPASS_ARGUMENTS'] = ['-c', 'path/to/config.rb']  # default: []

PIPELINE['COMPILERS'] = (
  'pipeline_compass.compass.CompassCompiler',
)