Skip to content

Commit 22749ee

Browse files
authored
optimize package build (#41685)
1 parent 3be6261 commit 22749ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/azure-sdk-tools/packaging_tools/package_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from subprocess import check_call, CalledProcessError, getoutput
88
from .generate_utils import return_origin_path
99
from packaging.version import Version
10-
10+
from . import build_packaging
1111
from .change_log import main as change_log_main
1212

1313
DEFAULT_DEST_FOLDER = "./dist"
@@ -211,7 +211,7 @@ def edit_toml(content: List[str]):
211211
else:
212212
_LOGGER.info(f"{os.getcwd()}/{toml} does not exist")
213213

214-
check_call(f"python -m packaging_tools --build-conf {self.whole_package_name}", shell=True)
214+
build_packaging(output_folder=".", packages=[self.whole_package_name], build_conf=True)
215215
_LOGGER.info("packaging_tools --build-conf successfully")
216216

217217
def sdk_code_path(self) -> str:

0 commit comments

Comments
 (0)