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.44.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.2.1.tar.gz (400.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for gears-stylus-0.2.1.tar.gz
Algorithm Hash digest
SHA256 370c2d0409c8e6f93f82f1638216b35f659f02b1e670b34c0fb4caf122cd00d7
MD5 19ac7b16b0c981be042b576a55f689a8
BLAKE2b-256 5bf430b04a1d2e4e07054e005c5e2d7eca8789e3d7efdf0fe63f859a715e69a8

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