gears-stylus

  118 downloads
0.1.6 ISC License (ISCL)    
  UNRATED
Stylus compiler for Gears

description

download

specifications

gears-stylus already includes the Stylus source code for you, so you don't need to worry about installing it yourself.

Installation

Install gears-stylus with pip:

 pip install gears-stylus

Usage

Add gears_stylus.StylusCompiler to environment's compilers registry:

from gears_stylus import StylusCompiler
environment.compilers.register('.styl', StylusCompiler.as_handler())


If you use Gears in your Django project, add this code to its settings:

GEARS_COMPILERS = {
 '.styl': 'gears_stylus.StylusCompiler',
}
read more   
Last updated on August 27th, 2012

0 User reviews so far.

SUBMIT