kopia lustrzana https://github.com/micropython/micropython-lib
make_metadata.py: Remove current dir from sys.path.
Otherwise MicroPython will pick up glob as an empty namespace package from the current dir otherwise.pull/118/head^2
rodzic
c6ef480ad0
commit
62240137d4
|
@ -1,6 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
# MicroPython will pick up glob from the current dir otherwise.
|
||||
import sys
|
||||
sys.path.pop(0)
|
||||
|
||||
import glob
|
||||
|
||||
|
||||
TEMPLATE = """\
|
||||
import sys
|
||||
# Remove current dir from sys.path, otherwise setuptools will peek up our
|
||||
|
|
Ładowanie…
Reference in New Issue