Skip to content

Commit

Permalink
devops: use build package for building
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Oct 20, 2024
1 parent 48bbc1b commit fafe582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: pip install .[dev]

- name: Build dist
run: python setup.py sdist bdist_wheel
run: python -m build

- name: Publish release to test PyPi
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -50,7 +50,7 @@ jobs:
run: pip install .[dev]

- name: Build dist
run: python setup.py sdist bdist_wheel
run: python -m build

- name: Publish release to test PyPi
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dynamic = ["version"]

[project.optional-dependencies]
dev = [
"build~=1.2.2",
"eth-account>=0.13.1",
"pyright~=1.1.385",
"pytest>=5.3.2",
Expand Down

0 comments on commit fafe582

Please sign in to comment.