Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Eco: Embedded CoffeeScript templates for Gears

Project description

gears-eco
==================

Eco: Embedded CoffeeScript templates for Gears.

Installation
------------

Install `gears-eco` with pip:

$ pip install gears-eco


Requirements
------------

- [node.js](http://nodejs.org)
- [eco](https://github.com/sstephenson/eco)


Usage
-----

Add `gears_eco.EcoCompiler` to `environment`'s compilers registry:

from gears_eco import EcoCompiler
environment.compilers.register('.eco', EcoCompiler.as_handler())

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

GEARS_COMPILERS = {
'.eco': 'gears_eco.EcoCompiler',
}

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gears-eco, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size gears_eco-0.1-py2.7.egg (126.8 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size gears-eco-0.1.tar.gz (105.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page