doloopwhile/Python-CoffeeScript — pull request #1 by mattjmorrison (2012-03-21 04:22:07+00:00)
Title: Installation Problem

I really like your CoffeeScript and execjs libraries. I'm glad that I found someone else seems to be interested in using JavaScript with Python. Thanks for doing all of the hard work and getting these libraries created and pushed out to pypi.

I ran into a problem trying to install Python-CoffeeScript. I have a django project that I want to use CoffeeScript in and I added "CoffeeScript" to my requirements.txt. When I run "pip install -r requirements.txt" I get an error trying to install CoffeeScript because the setup.py of the Python-CoffeeScript library requires that execjs has already been installed.

This pull request includes changing from distutils to setuptools so that the setup function can specify pyexecjs as a dependency that will also need to be installed, and I also separated the version and licence information to be independent in the CoffeeScript library.

This change allows me to list "CoffeeScript" in my requirements.txt file and automatically install CoffeeScript and pyexecjs by running "pip install -r requirements.txt".

Thanks again, let me know if you have any questions about my pull request.