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!

Source transformation module for Svarga framework

Project Description

Application for transforming source code from one format to another (for example, CleverCSS in CSS, CoffeeScript in JavaScript).

It requires a bit of configuration dropped in \(settings.py\):

TRANSFORM = {
    'clevercss': {'main': {'clevercss/*.ccss': 'css/*.css'},
                  'someapp': {'static/test.ccss': 'css/test.css'}},
    'coffee': {'main': {'*.coffee': '*.js'}},
    }

Configuration description:

  • TRANSFORM is a variable, containing mapping of backend to rules.
  • Rules are mapping between name in STATIC_URLS to a dictionary of source: target mapping.

Source can contain * to wildcard match files. In this case target should contain * as well.

Installation

It’s that easy:

pip install svargaext.transform
Release History

Release History

This version
History Node

0.6

History Node

0.5

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
svargaext.transform-0.6.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Apr 11, 2011

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