diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b39b04c5ff..3961a9f524 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,11 +37,11 @@ jobs: - name: Install Dependencies run: | python3 -m pip install --upgrade pip - python3 -m pip install setuptools wheel twine + python3 -m pip install build twine - name: Build run: | - python3 setup.py sdist bdist_wheel + python3 -m build . - name: Upload to PyPi run: | diff --git a/python/.gitignore b/python/.gitignore index a7719469a3..b8cb2e199d 100644 --- a/python/.gitignore +++ b/python/.gitignore @@ -1,2 +1,5 @@ /dist/ /*.egg-info/ + +# this file is duplicated by the build step +LICENSE \ No newline at end of file