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
Paul Sokolovsky 2014-06-06 23:22:44 +03:00
rodzic c6ef480ad0
commit 62240137d4
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -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