mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
tools/mpremote: Allow running mpremote with python -m.
This is helpful because some scripts are likely to use mpremote with a specific python path.
This commit is contained in:
6
tools/mpremote/mpremote/__main__.py
Normal file
6
tools/mpremote/mpremote/__main__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from mpremote import main
|
||||
|
||||
sys.exit(main.main())
|
||||
Reference in New Issue
Block a user