Open SpotlightKid opened 8 years ago
Should be fixed in a935645cb2e662955fc9744c015bca0da0630c75
Running ./micropython-extmod-generator/extmod-generator example
works correctly for me.
But this doesn't work:
./micropython-extmod-generator/extmod-generator testmod1
... where testmod1.py
is in the working directory, i.e the parent directory of the dir extmod-generate
is in. You example only works, because example.py
is in the directory extmod-generate
is in, because the directory containing the running script is added to the Python path.
Maybe the path of the input module should be added to sys.path in the
generate
script?