From 1e7338106e32a08a6ac5c682a7db85c6e8b00a99 Mon Sep 17 00:00:00 2001 From: Connor Zheng <39639716+AresConnor@users.noreply.github.com> Date: Wed, 22 Nov 2023 17:35:46 +0800 Subject: [PATCH] Update distribute.py --- scripts/distribute.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/distribute.py b/scripts/distribute.py index 56416ad..4354eff 100644 --- a/scripts/distribute.py +++ b/scripts/distribute.py @@ -333,11 +333,10 @@ def build_all(cls, version): ) args = parser.parse_args() - # os.makedirs("build", exist_ok=True) - # os.makedirs("build/release", exist_ok=True) - # Distributor.register_dependencies_path() - # if args.build_main: - # Distributor.build_main(version=args.version) - # if args.build_ocr: - # Distributor.build_ocr_dependencies() - Distributor.get_platform_tools() \ No newline at end of file + os.makedirs("build", exist_ok=True) + os.makedirs("build/release", exist_ok=True) + Distributor.register_dependencies_path() + if args.build_main: + Distributor.build_main(version=args.version) + if args.build_ocr: + Distributor.build_ocr_dependencies()