Skip to content

Commit 8889c4d

Browse files
author
Takashi Matsuo
committed
Use twine to upload the package to pypi.
1 parent 05f1932 commit 8889c4d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ prerelease:
2929
-sudo rm -rf dist/
3030
-rm -rf snapshot/
3131
-sudo rm -rf snapshot/
32-
# ./tools/gae-zip-creator.sh
3332
python expandsymlinks.py
3433
cd snapshot; python setup.py clean
35-
cd snapshot; python setup.py sdist --formats=gztar,zip
34+
cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal
3635
cd snapshot; tar czf google-api-python-client-samples-$(shell python setup.py --version).tar.gz samples
3736
cd snapshot; zip -r google-api-python-client-samples-$(shell python setup.py --version).zip samples
3837

@@ -43,5 +42,5 @@ release: prerelease
4342
@echo "Are you sure you want to proceed? (yes/no)"
4443
@read yn; if [ yes -ne $(yn) ]; then exit 1; fi
4544
@echo "Here we go..."
46-
cd snapshot; python setup.py sdist --formats=gztar,zip register upload
47-
45+
cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal
46+
cd snapshot; twine upload dist/*

0 commit comments

Comments
 (0)