diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 2be7983d..cec3a82d 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -19,8 +19,8 @@ jobs: run: | sudo apt-get update && \ sudo apt-get install -yq --no-install-recommends python3-pip python3.8 python3.8-dev python3-setuptools && \ - pip3 install wheel && \ - cd blue && python3 setup.py sdist bdist_wheel --universal + pip3 install wheel build && \ + cd blue && python3 -m build --sdist --wheel if: github.repository == 'iqtlabs/daedalus' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') - name: Publish package if: github.repository == 'iqtlabs/daedalus' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') diff --git a/blue/pyproject.toml b/blue/pyproject.toml index 19d9bbf8..f446a1e0 100644 --- a/blue/pyproject.toml +++ b/blue/pyproject.toml @@ -46,7 +46,7 @@ daedalus = "daedalus.__main__:main" [build-system] requires = [ - "setuptools >= 49.0.0", + "setuptools >= 62.0.0", ] build-backend = "setuptools.build_meta"