##// END OF EJS Templates
Merge pull request #1624 from takluyver/i1470...
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.

File last commit:

r3408:261328d5
r6552:7c0a10bd merge
Show More
__init__.py
4 lines | 72 B | text/x-python | PythonLexer
try:
from path import *
except ImportError:
from _path import *