Python bindings for libsass
Project description
Usage
>>> import sass >>> sass.compile_string("div { a { color: black}}") 'div a {\n color: black; }\n'
Installation
pip install sass
Compatibility
Tested with Python 2.7 and Python 3.2/3.3
Development
Steps to compile and install:
sudo pip install Cython git submodule init git submodule update cd libsass git submodule init git submodule update cd .. make sudo python setup.py develop
If you want to use an alternate python, you’ll have to edit the Makefile or execute those commands from activated virtualenv.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size sass-2.3.tar.gz (126.3 kB) | File type Source | Python version None | Upload date | Hashes View |