From 6b83667172cdb2723ac89004186b04dd7368e75c Mon Sep 17 00:00:00 2001 From: Xin Chen Date: Wed, 7 Sep 2022 15:41:13 +0800 Subject: [PATCH 1/3] fix mmdeploy builder on windows --- tools/package_tools/mmdeploy_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/package_tools/mmdeploy_builder.py b/tools/package_tools/mmdeploy_builder.py index 3a6ee7a912..e1523d021d 100644 --- a/tools/package_tools/mmdeploy_builder.py +++ b/tools/package_tools/mmdeploy_builder.py @@ -163,8 +163,8 @@ def build_mmdeploy(cfg, mmdeploy_dir, dist_dir=None): build_cmd = 'cmake --build . --config Release -- /m' _call_command(build_cmd, build_dir) install_cmd = 'cmake --install . --config Release' - _remove_if_exist(build_dir, 'lib', 'Release') _call_command(install_cmd, build_dir) + _remove_if_exist(osp.join(build_dir, 'lib', 'Release')) else: # build cmd build_cmd = 'cmake --build . -- -j$(nproc) && cmake --install .' From f0bf1be0d60b4a589d045dd26c5b66a7500cab1a Mon Sep 17 00:00:00 2001 From: Xin Chen Date: Wed, 7 Sep 2022 17:31:02 +0800 Subject: [PATCH 2/3] add pyyaml --- requirements/tests.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/tests.txt b/requirements/tests.txt index d74cc6016a..8dce83ccee 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,3 +1,4 @@ +pyyaml asynctest coverage flake8 From 73a0ba5b38847b0a3bf6fa755d90af5d63c432a2 Mon Sep 17 00:00:00 2001 From: Xin Chen Date: Fri, 9 Sep 2022 10:11:38 +0800 Subject: [PATCH 3/3] fix lint --- requirements/tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/tests.txt b/requirements/tests.txt index 8dce83ccee..581ae5c080 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,4 +1,3 @@ -pyyaml asynctest coverage flake8 @@ -7,5 +6,6 @@ isort==4.3.21 openpyxl==3.0.9 pandas pytest +pyyaml xlrd==1.2.0 yapf