This repository was archived by the owner on Nov 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
5959upload : clean all tag upload-github upload-pypi
@@ -63,7 +63,8 @@ upload-github:
6363 git push origin --tags
6464
6565upload-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
6869showtag : 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"
8889api :
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 ; \
You can’t perform that action at this time.
0 commit comments