mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
tools: Don't generate pyc files
This commit is contained in:
parent
e497bf37c4
commit
270d8b468a
@ -37,8 +37,12 @@ from collections import Counter, OrderedDict
|
|||||||
from importlib import import_module
|
from importlib import import_module
|
||||||
from pkgutil import iter_modules
|
from pkgutil import iter_modules
|
||||||
|
|
||||||
from idf_py_actions.errors import FatalError
|
# pyc files remain in the filesystem when switching between branches which might raise errors for incompatible
|
||||||
from idf_py_actions.tools import (executable_exists, idf_version, merge_action_lists, realpath)
|
# idf.py extentions. Therefore, pyc file generation is turned off:
|
||||||
|
sys.dont_write_bytecode = True
|
||||||
|
|
||||||
|
from idf_py_actions.errors import FatalError # noqa: E402
|
||||||
|
from idf_py_actions.tools import (executable_exists, idf_version, merge_action_lists, realpath) # noqa: E402
|
||||||
|
|
||||||
# Use this Python interpreter for any subprocesses we launch
|
# Use this Python interpreter for any subprocesses we launch
|
||||||
PYTHON = sys.executable
|
PYTHON = sys.executable
|
||||||
|
Loading…
Reference in New Issue
Block a user