marianoguerra/SassPython — pull request #3 by dahlia (2012-07-31 19:21:49+00:00)
Title: Bundling libsass into SassPython bdist egg package

This patch contains several improvements of `setup.py` script and `sass.py` itself.

- Changed `LIB` to be loadable from several possible paths. It also uses [`ctypes.util.find_library()`][1] function.
- Added `setup.py build_libsass` command. Although it’s pretty straight forward and doesn’t support Windows at all yet, it works well on Mac and Linux both.
- `setup.py bdist_egg` invokes `setup.py build_libsass` first. This is described in `setup.cfg` file.
- Built libsass will be bundled as `data_files` in egg packages.

[1]: http://docs.python.org/library/ctypes.html#ctypes.util.find_library