GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Make distribute installation optional (if setuptools/distribute is already installed, do not call use_setuptools)
My problem is that I have setuptools installed instead of distribute, and I do not need to install distribute in order to use cssmin. So I added a try/except for setuptools package, so it is not mandatory to always install distribute.
Make distribute installation optional (if setuptools/distribute is al…
…ready installed, do not install it)
Related to @ionelmc's commit: ionelmc/cssmin@bba047f
This approach looks better and should still make distribute zealots happy (a bit at least :)
I would love to see this change get in :) Distribute actually just got merged back into setuptools recently, so distribute is now deprecated.
Issue #13 is related to this.
I fixed this in v0.2.0, which is now available on PyPI.