Skip to main content

LESS compiler for Gears

Project description

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

Installation

Install gears-less with pip:

$ pip install gears-less

Requirements

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

Usage

Add gears_less.LESSCompiler to environment’s compilers registry:

from gears_less import LESSCompiler
environment.compilers.register('.less', LESSCompiler.as_handler())

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

GEARS_COMPILERS = {
    '.less': 'gears_less.LESSCompiler',
}

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-less-0.1.tar.gz (504.2 kB view details)

Uploaded Source

File details

Details for the file gears-less-0.1.tar.gz.

File metadata

  • Download URL: gears-less-0.1.tar.gz
  • Upload date:
  • Size: 504.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gears-less-0.1.tar.gz
Algorithm Hash digest
SHA256 eab0a13e11195cac8ff23056cf3f13b3443d4922281b64e88f5eb712dbe6c3ac
MD5 b898b3c8e3ed2e0f5fe77472eb9dd11b
BLAKE2b-256 9197bcdb1a4420f8eeca43ac428fdd7b5475a44021ce36d91fb20e901bc5052c

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