fix(packaging): keep distribution minimal
This commit is contained in:
1 parent
c97e4edc74
commit
b74baef555
18 files changed
+492
-49
No files matched your search
+3
-2
@@ -10,9 +10,10 @@ _BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if _BASE_DIR not in sys.path:
|
||||
sys.path.insert(0, _BASE_DIR)
|
||||
|
||||
from douyin.updater.bootstrap import run_startup_update_check_early
|
||||
if __name__ == "__main__":
|
||||
from douyin.updater.bootstrap import run_startup_update_check_early
|
||||
|
||||
run_startup_update_check_early(app_name="run_cli")
|
||||
run_startup_update_check_early(app_name="run_cli")
|
||||
|
||||
# 可选:全局参数/调用跟踪(仅在环境变量 PARAM_TRACK_ALL=1 时启用)
|
||||
if os.environ.get("PARAM_TRACK_ALL") == "1":
|
||||
|
||||
Reference in new issue
Block a user