Merge pull request
#1624 from takluyver/i1470
Two distinct but related fixes for byte-compilation on Python 3.
* A slight hack so setuptools refrains from trying to byte-compile everything - issue
#1470. The actual modules are still compiled by another step when I do `python3 setup.py install`, but that step is smart enough not to try to compile the examples as well.
* A workaround for a bug in Python 3.1 - py_compile had only partly implemented PEP 263, so it recognises `coding:`, but not `encoding:` to specify a file encoding. This was causing build failures since my `nonascii.py` test sample was merged.
Closes
#1470.