summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/makemanifest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/makemanifest.py b/tools/makemanifest.py
index d059d4a26..9dd8815aa 100644
--- a/tools/makemanifest.py
+++ b/tools/makemanifest.py
@@ -29,7 +29,8 @@ import sys
import os
import subprocess
-sys.path.append(os.path.join(os.path.dirname(__file__), "../mpy-cross"))
+# Always use the mpy-cross from this repo.
+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../mpy-cross"))
import mpy_cross
import manifestfile