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',
}
==================
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gears-eco-0.1.tar.gz
(105.0 kB
view details)
Built Distribution
gears_eco-0.1-py2.7.egg
(126.8 kB
view details)
File details
Details for the file gears-eco-0.1.tar.gz
.
File metadata
- Download URL: gears-eco-0.1.tar.gz
- Upload date:
- Size: 105.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9c82b9a0d6395b699751134f3208e383c0b35e3aaa3a11ac6c53eccf65f97d |
|
MD5 | 7d67055d3da2f3bd510d5ed4e4ecd119 |
|
BLAKE2b-256 | 8b7ee3dc39c525b5d81049600c783f9c09c24d7865707f34976a85b1a5ba5526 |
File details
Details for the file gears_eco-0.1-py2.7.egg
.
File metadata
- Download URL: gears_eco-0.1-py2.7.egg
- Upload date:
- Size: 126.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7a56ad3ebf089f4adb1393c99de86abedbcc3c35df7f0d05eb5abfaa02b5ad2 |
|
MD5 | 5a3ef19706b87b3ddce46c1eeabdb34c |
|
BLAKE2b-256 | 2d2ba63c13a969e407b847414eae7ab7161495b9c344400427106d7a3b5a1140 |