소스 검색

Build with PEP 517

Unrud 3 년 전
부모
커밋
d8604becd0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      .github/workflows/pypi-publish.yml

+ 2 - 2
.github/workflows/pypi-publish.yml

@@ -12,9 +12,9 @@ jobs:
         with:
           python-version: 3.x
       - name: Install build dependencies
-        run: pip install setuptools wheel
+        run: pip install build
       - name: Build
-        run: python setup.py sdist bdist_wheel
+        run: python -m build --sdist --wheel
       - name: Publish to PyPI
         uses: pypa/gh-action-pypi-publish@master
         with: