Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 78e9c3b

Browse files
committed
wheel typo,setup to twine for pypi,api cleanup
1 parent aeaec3d commit 78e9c3b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ bdist: all
5050
$(PYTHON) setup.py -q bdist
5151
@rm -rf ${NAME}.egg-info
5252

53-
bdist_world: all
53+
bdist_wheel: all
5454
make clean
5555
make test
56-
$(PYTHON) setup.py -q bdist_world
56+
$(PYTHON) setup.py -q bdist_wheel
5757
@rm -rf ${NAME}.egg-info
5858

5959
upload: clean all tag upload-github upload-pypi
@@ -63,7 +63,8 @@ upload-github:
6363
git push origin --tags
6464

6565
upload-pypi:
66-
$(PYTHON) setup.py -q sdist bdist_wheel upload # --sign --identity="$(EMAIL)"
66+
## $(PYTHON) setup.py -q sdist bdist_wheel upload # --sign --identity="$(EMAIL)"
67+
twine upload -r pypi dist/*
6768

6869
showtag: sdist
6970
@ v=`ls -r dist | head -1 | sed -e 's/cloudflare-\([0-9.]*\)\.tar.*/\1/'` ; echo "\tDIST VERSION =" $$v ; (git tag | fgrep -q "$$v") && echo "\tGIT TAG EXISTS"
@@ -88,7 +89,7 @@ lint:
8889
api:
8990
@tmp=/tmp/_$$$$_ ; \
9091
$(PYTHON) -m cli4 --dump | sort > $$tmp.1 ; \
91-
$(PYTHON) -m cli4 --api | sed -e 's/^[A-Z][A-Z]* *//' -e 's/?.*//' -e 's/\/:[a-z_]*/\/:id/g' -e 's/\/:[a-z_]*}/\/:id/g' -e 's/\/:id$$//' -e 's/\/:id ;/ ;/' -e 's/\/$$//' | sort | uniq > $$tmp.2 ; \
92+
$(PYTHON) -m cli4 --api | sed -e 's/^[A-Z][A-Z]* *//' -e 's/?.*//' -e 's/\/:[a-z_]*/\/:id/g' -e 's/\/:[a-z_]*}/\/:id/g' -e 's/\/:id$$//' -e 's/\/:id ;/ ;/' -e 's/\/$$//' | sort -u > $$tmp.2 ; \
9293
egrep -v '; deprecated' < $$tmp.2 | diff $$tmp.1 - > $$tmp.3 ; \
9394
echo "In code:" ; \
9495
egrep '< ' < $$tmp.3 | sed -e 's/< / /' | sort | tee $$tmp.4 ; \

0 commit comments

Comments
 (0)