gears/gears — pull request #14 by excieve (2012-10-12 09:55:56+00:00)
Title: #10: Add support for Python 3

Thanks to your clean and mostly forwards-compatible code it wasn't hard to make it support Python 3 in the same codebase. I have also cleaned it up from future imports (which are redundant since Python 2.5 support has been dropped) and some unused ones. Please review.

I also tested it with a simple asset package containing simple css/js, less, coffeescript, stylus and handlebars. Works well with corresponding asset handlers without any additional changes. uglifyjs and clean css didn't give any troubles either. So it would be great if you could update trove classifications of following packages:
https://github.com/gears/gears-handlebars
https://github.com/gears/gears-clean-css
https://github.com/gears/gears-uglifyjs
https://github.com/gears/gears-less
https://github.com/gears/gears-coffeescript
https://github.com/gears/gears-stylus

Unfortunately built-in support for cssmin and slimit doesn't work with Python 3 since they both don't support it yet. I might get my hands on cssmin soon but as long as they're not hard requirements (and there are substitutes that work) I think it's fine for them to fail.

Also gears-cli won't work due to dependency on watchdog which doesn't seem to be fully compatible yet. And obviously not much sense on trying to get gears-django with gears-flask work as Django and Flask aren't ready for prime time Python 3 yet.

My original intention was to use gears with Pyramid so I think there will be a compatible plugin for that soon.

Thanks and awaiting for your feedback.