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
Installation bug django-compressor (rcssmin) #803
Comments
May be it relates ndparker/rcssmin#4 |
It's not related to that issue, /I have got the right headers installed and passing |
I may suggest to use wheels ( http://pythonwheels.com/ ) , it should save from similar installation issues in future... |
Yeah, except rcss is doing something weird and I can't seem to get it to build a wheel. |
I have opened ndparker/rcssmin#6 |
May I also suggest to do not require minification packages because of it may be useful even without them. I use free CloudFlare, which provide CDN services and DNS. And I can enable JS/CSS/HTML minification from their side. But I need 1 .css file. It's main reason why do I need packages like django-compressor. Combine all .css to one during Docker image build step. |
The same issue affects the |
let me try to understand: the problem in the original post is an installation issue of rcssmin/rjsmin and has nothing to do with django-compressor. however, if django-compressor wouldn't require these projects, their errors would be less of a pain for django-compressor users. additionally, it would be nice to distribute django-compressor as a wheel, since that might prevent some problems, but probably not this particular one. if that is correct, @lorddaedra could you open new issues for the dependency and wheel thing and would you be fine with me closing this issue here? if that's not correct, please help me understand, i'm pretty much clueless when it comes to python packaging. |
btw, could one of you guys post how you worked around this for other people landing here? |
On the ndparker/rcssmin#6 issue, @dan-gittik reports manually calling |
thanks! |
Related to pypa/setuptools#833 |
@karyon, I posted this bug here because of, well, "vassal of my vassal is not my vassal" principle. I thought it was a good idea to write it here... At least you should know about this installation bug in one of your main components... |
People that are after a quick (temporary) solution, you can downgrade setuptools using pip with these 2 commands:
Then pip install django-compressor should work. |
Setuptools has reverted the offending change in 28.7.1. I recommend closing this issue and letting setuptools resolve it. |
agreed, thanks for the update. @lorddaedra it absolutely was a good idea to post that problem here, i didn't mean to imply otherwise :) i'll close this issue, but again feel free to open new ones for the dependency and wheel issues. |
..actually i'll leave this open for some days, in case any more people are stranding here |
closing. thanks again for all your help! |
For windows this requires the following library, follow the steps indicated here https://www.scivision.dev/python-windows-visual-c-14-required/ |
The text was updated successfully, but these errors were encountered: