skip to navigation
skip to content

Not Logged In

gears-coffeescript 0.1.2

CoffeeScript compiler for Gears

Latest Version: 0.1.3

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

Bundled CoffeeScript version: 1.6.3

Installation

Install gears-coffeescript with pip:

$ pip install gears-coffeescript

Requirements

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

Usage

Add gears_coffeescript.CoffeeScriptCompiler to environment's compilers registry:

from gears_coffeescript import CoffeeScriptCompiler
environment.compilers.register('.coffee', CoffeeScriptCompiler.as_handler())

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

GEARS_COMPILERS = {
    '.coffee': 'gears_coffeescript.CoffeeScriptCompiler',
}
 
File Type Py Version Uploaded on Size
gears-coffeescript-0.1.2.tar.gz (md5) Source 2013-12-13 75KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 121 downloads in the last week
  • 506 downloads in the last month