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>
This commit is contained in:
Jim Mussared 2022-09-09 18:12:55 +10:00
parent 1d4228ccc1
commit 4903e48e34

View File

@ -29,7 +29,8 @@ import sys
import os import os
import subprocess 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 mpy_cross
import manifestfile import manifestfile