Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build and publish wheel #103

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
pipenv install --dev

- name: Create the distribution
run: pipenv run python setup.py build sdist
run: pipenv run python -m build

- name: Publish the distribution
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -147,4 +147,3 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}

3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VERSION := $(shell ./setup.py --version)

.PHONY: build
build:
python setup.py build sdist
python -m build

.PHONY: clean
clean:
Expand All @@ -18,4 +18,3 @@ release: build
$(eval RELEASE_TAG := v$(VERSION))
git tag -sm "Version $(VERSION)" $(RELEASE_TAG)
git push --tags

1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ graphviz = "*"
coverage = "*"
ipython = "*"
setuptools = "*"
build = "*"

[scripts]
tests = 'sh -c "PYTHONPATH=$(pwd)/lib python -m unittest -v tests"'
Expand Down
Loading