tools/gen-cpydiff.py: Update executable paths to point to new ports dir.

This commit is contained in:
Damien George 2017-11-28 10:50:32 +11:00
parent 2161d6b603
commit 7cf446f3da
1 changed files with 2 additions and 2 deletions

View File

@ -39,10 +39,10 @@ from collections import namedtuple
# to the correct executable.
if os.name == 'nt':
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3.exe')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../windows/micropython.exe')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../ports/windows/micropython.exe')
else:
CPYTHON3 = os.getenv('MICROPY_CPYTHON3', 'python3')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../unix/micropython')
MICROPYTHON = os.getenv('MICROPY_MICROPYTHON', '../ports/unix/micropython')
TESTPATH = '../tests/cpydiff/'
DOCPATH = '../docs/genrst/'