diff --git a/.gitignore b/.gitignore index 173f151..7c5e052 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,9 @@ *.pyc __pycache__ *.egg-info/ +EGG-INFO/ dist/ build/ src/ execjs +.tox/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c89cff1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: python +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" + - "nightly" +script: + - python setup.py test \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in index 07e0d99..676241f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ include LICENSE include README.rst -include coffeescript/coffee-script.js \ No newline at end of file +include coffeescript/coffeescript.js \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dee60a6 --- /dev/null +++ b/README.md @@ -0,0 +1,131 @@ +Python-CoffeeScript +=================== + +# End of life + +This library is no longer maintananced ([Reason](https://gist.github.com/doloopwhile/8c6ec7dd4703e8a44e559411cb2ea221)). +Bugs are not be fixed (even if they are trivial or essential). + +We suggest to use other library or to make a fork. + +--- + +Python-CoffeeScript is a bridge to the JS CoffeeScript compiler. + +A short example +--------------- + + >>> import coffeescript + >>> print(coffeescript.compile('add = (a, b) -> a + b')) + (function() { + var add; + + add = function(a, b) { + return a + b; + }; + + }).call(this); + +Installation +------------ + + $ pip install CoffeeScript + + or + + $ easy_install CoffeeScript + +coffeescript.js +---------------- + +The latest version of coffeescript.js (the script for browser +\