skip to navigation
skip to content

Not Logged In

gears-stylus 0.1.4

Stylus compiler for Gears

Latest Version: 0.1.7

Stylus compiler for Gears. This package already includes the Stylus source code for you, so you don't need to worry about installing it yourself.

Bundled Stylus version: 0.41.3

Installation

Install gears-stylus with pip:

$ pip install gears-stylus

Requirements

gears-stylus requires node.js to be installed in your system.

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',
}
 
File Type Py Version Uploaded on Size
gears-stylus-0.1.4.tar.gz (md5) Source 2013-12-13 336KB
  • Downloads (All Versions):
  • 30 downloads in the last day
  • 389 downloads in the last week
  • 849 downloads in the last month