Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #266 from rashley-iqt/fix-build
Browse files Browse the repository at this point in the history
convert pypi to use build rather than setup.py
  • Loading branch information
cglewis authored Jul 19, 2022
2 parents a6b7ac2 + b309fb7 commit da6ba54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion blue/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ daedalus = "daedalus.__main__:main"

[build-system]
requires = [
"setuptools >= 49.0.0",
"setuptools >= 62.0.0",
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit da6ba54

Please sign in to comment.