Skip to content

Commit f374054

Browse files
msyycCopilot
andauthored
[pipeline] use build to build package (#42153)
* use build to build package * Update scripts/auto_release/requirement.txt * Update scripts/auto_release/requirement.txt Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent d8f76b3 commit f374054

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/auto_release/auto_private_package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def step_into_package_folder(self):
5353

5454
def generate_private_package(self):
5555
self.step_into_package_folder()
56-
check_call("python setup.py bdist_wheel")
57-
check_call("python setup.py sdist --format zip")
56+
check_call("python -m build")
5857
print(f'\n package in : {str(Path(os.getcwd()) / "dist")}')
5958
os.system("pause")
6059

scripts/auto_release/requirement.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ pytest==6.2.5
77
fastcore==1.3.25
88
tox==4.15.0
99
wheel==0.43.0
10-
setuptools==78.1.0
10+
setuptools==78.1.0
11+
build==1.0.3

0 commit comments

Comments
 (0)