Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setuptools/distutils integration #20

Open
danbradham opened this issue May 8, 2018 · 3 comments
Open

setuptools/distutils integration #20

danbradham opened this issue May 8, 2018 · 3 comments

Comments

@danbradham
Copy link
Collaborator

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.

@goanpeca
Copy link
Member

@danbradham could you elaborate a bit :-) ?

@danbradham
Copy link
Collaborator Author

danbradham commented Apr 24, 2019

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.

Explainer
Source code

It could be cool to include a build_qtsass command that acts on the same sass_manifests argument.

@goanpeca
Copy link
Member

Awesome, thanks for the explanation!

@goanpeca goanpeca self-assigned this May 5, 2019
@goanpeca goanpeca modified the milestones: 1.0, 0.1.2, 0.2.0 May 5, 2019
@goanpeca goanpeca modified the milestones: v0.2, v0.3 Sep 4, 2019
@goanpeca goanpeca modified the milestones: v0.3, Sprint 02 - II Feb 23, 2020
@goanpeca goanpeca added the v0.3 label Feb 23, 2020
@goanpeca goanpeca removed the v0.3 label Mar 18, 2020
@goanpeca goanpeca removed this from the Sprint 03 - II milestone May 5, 2020
@goanpeca goanpeca removed their assignment Aug 22, 2020
@dalthviz dalthviz added this to the v0.4.0 milestone Sep 5, 2022
@dalthviz dalthviz modified the milestones: v0.4.0, v0.5.0 Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants