From cf20e931a61a85068330c3622e21b85d92681bbb Mon Sep 17 00:00:00 2001 From: David Hotham Date: Tue, 19 Nov 2024 20:08:40 +0000 Subject: [PATCH] publish wheels --- .github/workflows/publish.yml | 4 ++-- Makefile | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0bb026c..4acc92a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,9 +23,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel + pip install build - name: Build package run: | - python setup.py sdist bdist_wheel + python -m build - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/Makefile b/Makefile index 03d7edc..3a3a9ee 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,3 @@ clean: rm -rf build rm -rf *.egg-info rm -f Pipfile.lock - -.PHONY: distribute -# Distributes the package to PyPI -distribute: - rm -rf dist - python setup.py sdist - twine upload dist/*