tools/mpremote: Allow running mpremote with `python -m`.

This is helpful because some scripts are likely to use mpremote with a
specific python path.
pull/8459/head
Waterlens 2022-03-18 17:47:24 +08:00 zatwierdzone przez Damien George
rodzic 3e70be8ee9
commit 4c252ae067
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,6 @@
#!/usr/bin/env python3
import sys
from mpremote import main
sys.exit(main.main())