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.30.0

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.1.2.tar.gz (74.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gears-stylus-0.1.2.tar.gz
  • Upload date:
  • Size: 74.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gears-stylus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 73731d4321cab7bdb7716168003f47d7987c48a2f3052103de75e180095e2749
MD5 aa1efcdb38a78f17475f8891858b5954
BLAKE2b-256 d51fe57c80c1a9852ae8cb846f75af0cd9ff6a46f9ff2f448f3e6989ce78b4ac

See more details on using hashes here.

Supported by

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