From ffa06c4695a152e6de4cbd72cf724a22ce469882 Mon Sep 17 00:00:00 2001 From: Eric Ma Date: Wed, 20 Mar 2024 23:27:15 -0400 Subject: [PATCH] build(auto-release): switch to python build module for package creation This commit replaces the traditional setup.py method for building the package with the newer python build module. This change is made to keep up with the latest best practices in Python packaging. --- .github/workflows/auto-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 4e67d77d3..080cc1b25 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -90,7 +90,8 @@ jobs: - name: Build package run: | rm -f dist/* - python setup.py sdist bdist_wheel + pip install build + python -m build - name: Publish package uses: pypa/gh-action-pypi-publish@master