qtsass
qtsass copied to clipboard
setuptools/distutils integration
The python libsass library has really sweet integration with setuptools/distutils.
setup(
...
sass_manifests={
'package': ('/scss', '/css')
},
)
We should be able to subclass the distutils command and hook up our own compile method.
@danbradham could you elaborate a bit :-) ?
Libsass extends setuptools with a build_sass
command that recognizes the sass_manifests
setup argument and compiles your sass to css. When used in conjunction with sdist/bdist the compiled css will be included with the distribution.
It could be cool to include a build_qtsass
command that acts on the same sass_manifests
argument.
Awesome, thanks for the explanation!