Skip to content

Commit

Permalink
prevent copy build/lib/* when build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Feb 16, 2023
1 parent 35d556c commit 45b7694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/package_tools/mmdeploy_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def build_mmdeploy(cfg, mmdeploy_dir, dist_dir=None):
# build cmd
build_cmd = 'cmake --build . -- -j$(nproc) && cmake --install .'
_call_command(build_cmd, build_dir)
_remove_if_exist(osp.join(build_dir, 'lib'))

# build wheel
bdist_cmd = _create_bdist_cmd(cfg, c_ext=False, dist_dir=dist_dir)
Expand Down

0 comments on commit 45b7694

Please sign in to comment.