10000 tools/makemanifest.py: Force the repo version of the mpy_cross package. · jimmo/micropython@4903e48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4903e48

Browse files
committed
tools/makemanifest.py: Force the repo version of the mpy_cross package.
In case the version from pypi is installed or some other version is available in sys.path, prepend `$(TOP)/mpy-cross` to sys.path instead. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 1d4228c commit 4903e48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/makemanifest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
import os
3030
import subprocess
3131

32-
sys.path.append(os.path.join(os.path.dirname(__file__), "../mpy-cross"))
32+
# Always use the mpy-cross from this repo.
33+
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../mpy-cross"))
3334
import mpy_cross
3435

3536
import manifestfile

0 commit comments

Comments
 (0)
0