Skip to content

Commit b1ca52e

Browse files
committed
add upload target
1 parent cef16df commit b1ca52e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ help:
33
@echo "sdist - Source distribution"
44
@echo "html - HTML documentation"
55
@echo "docclean - Remove documentation build files"
6-
@echo "register - register a new release on PyPI"
6+
@echo "upload - upload a new release to PyPI"
77
@echo "website - build web version of docs"
88
@echo "installwebsite - deploy web version of docs"
99
@echo "develop - install development version"
@@ -46,8 +46,14 @@ installwebsite: website
4646
# Register the new version on pypi
4747
.PHONY: register
4848
register:
49+
echo "USE upload target"
50+
exit 1
4951
python setup.py register
5052

53+
.PHONY: upload
54+
upload:
55+
python setup.py sdist upload
56+
5157
# Testing
5258
test:
5359
tox

0 commit comments

Comments
 (0)