Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

JSX compiler for Gears

Project Description
gears-jsx
==================

JSX compiler for Gears.

Bundled [react-tools](https://github.com/facebook/react) version: 0.10.0


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

Install `gears-jsx` with pip:

$ pip install gears-jsx


Requirements
------------
- [node.js](http://nodejs.org)


Usage
-----

Add `gears_jsx.JSXCompiler` to `environment`'s compilers registry:

from gears_jsx import JSXCompiler
environment.compilers.register('.jsx', JSXCompiler.as_handler())

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

GEARS_COMPILERS = {
'.jsx': 'gears_jsx.JSXCompiler',
}
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gears_jsx-0.1-py2.7.egg (1.9 MB) Copy SHA256 Checksum SHA256 2.7 Egg May 8, 2014
gears-jsx-0.1.tar.gz (1.4 MB) Copy SHA256 Checksum SHA256 Source May 8, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting