mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
9dfa1b8631
Signed-off-by: Benign X <1341398182@qq.com> Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
14 lines
315 B
Python
14 lines
315 B
Python
import sys
|
|
from os import path
|
|
|
|
here = path.dirname(path.abspath(__file__))
|
|
|
|
if __name__ == "__main__":
|
|
if here not in sys.path:
|
|
sys.path.insert(0, here)
|
|
|
|
for key in tuple(filter(lambda m: m.startswith("lvglgdb"), sys.modules.keys())):
|
|
del sys.modules[key]
|
|
|
|
import lvglgdb # noqa: F401
|