Skip to content

mociepka/python-scss

 
 

Repository files navigation

Python binding for libsass

Build status

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

How to contribute

It is easy. Fork repo on GitHub, fix stuff and send me nice looking pull-request.

Bitdeli badge

About

Python bindings for libsass

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • Shell 2.2%
  • CSS 2.0%