Python bindings for libsass
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libsass @ a3d3bc7 Update to libsass 2.1.0-beta Sep 9, 2014
.coveragerc Experimental support for coverage collection Apr 16, 2013
.gitignore Fixed version numbers Apr 10, 2014
.gitmodules Initial version May 23, 2012
.travis.yml Fixed pip call Apr 16, 2013
AUTHORS Added AUTHORS Mar 20, 2013
LICENSE Add licensing information. Jul 1, 2012
MANIFEST.in
Makefile Fixed build problems Apr 10, 2014
README.rst Update to libsass 2.1.0-beta Sep 9, 2014
sass.pyx Fixed version numbers Apr 10, 2014
setup.py Version bump Sep 16, 2014
test.py Updated code to use b-prefixed strings for Python 2.x and 3.x compati… Mar 18, 2013
travis-ci.sh Fixed build problems Apr 10, 2014

README.rst

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

How to contribute

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

Bitdeli badge