Skip to content

Commit f04323c

Browse files
committed
remove setup.py
1 parent a53015b commit f04323c

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ tag:
99
# @echo "Tagging v$(VERSION)..."
1010
# git tag v$(VERSION)
1111
# git push --tags
12-
curl -H "Authorization: token `cat $(HOME)/.github-access-token`" -d '{"tag_name": "$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
12+
curl -H "Authorization: token `cat $(HOME)/.github-access-token`" -d '{"tag_name": "v$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
1313

1414
upload: setup.py
1515
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi
1616
rm -f dist/*
17-
python3 setup.py sdist
18-
python3 setup.py bdist_wheel
17+
# python3 setup.py sdist bdist_wheel
18+
# https://stackoverflow.com/a/58756491/353337
19+
python3 -m pep517.build --source --binary .
1920
twine upload dist/*
2021

2122
publish: tag upload

setup.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)