Skip to content

Commit 521ee18

Browse files
committed
Update PYPI targets
1 parent 8a13dee commit 521ee18

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ TESTER_TRAVIS = nosetests
2020
TESTER_OPTS = -s -v --exe --rednose
2121
TESTER_OPTS_COV_HTML = $(TESTER_OPTS) --with-coverage --cover-html
2222

23+
UPLOADER=twine
2324
# }}}
2425

2526
.PHONY: tests tests-travis clean
@@ -140,7 +141,10 @@ clean-mininet:
140141

141142
# PYPI {{{1
142143

143-
package-wheel:
144-
python2 setup.py sdist bdist_wheel
144+
pypi-wheel:
145+
./setup.py sdist bdist_wheel
146+
147+
pypi-upload:
148+
$(UPLOADER) upload dist/*
145149

146150
# }}}

0 commit comments

Comments
 (0)