Skip to main content

Stylus compiler for Gears

Project description

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

Bundled Stylus version: 0.45.1

Installation

Install gears-stylus with pip:

$ pip install gears-stylus

Requirements

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

Usage

Add gears_stylus.StylusCompiler to environment’s compilers registry:

from gears_stylus import StylusCompiler
environment.compilers.register('.styl', StylusCompiler.as_handler())

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

GEARS_COMPILERS = {
    '.styl': 'gears_stylus.StylusCompiler',
}

Project details


Download files

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

Source Distribution

gears-stylus-0.2.2.tar.gz (400.8 kB view details)

Uploaded Source

File details

Details for the file gears-stylus-0.2.2.tar.gz.

File metadata

File hashes

Hashes for gears-stylus-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2c2f5909e5f520ed964c7ae1408ac2ff7403b4f964f3c3226b95ab3d8183127c
MD5 06c3310024509088c2e3810b7e960f04
BLAKE2b-256 1c97e429c88166e34a4ab4bf337390d7367fbd50c10985006450c9668ddc5e89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page