Skip to content

Commit

Permalink
Use twine to upload the package to pypi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo committed Sep 11, 2015
1 parent 05f1932 commit 8889c4d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ prerelease:
-sudo rm -rf dist/
-rm -rf snapshot/
-sudo rm -rf snapshot/
# ./tools/gae-zip-creator.sh
python expandsymlinks.py
cd snapshot; python setup.py clean
cd snapshot; python setup.py sdist --formats=gztar,zip
cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal
cd snapshot; tar czf google-api-python-client-samples-$(shell python setup.py --version).tar.gz samples
cd snapshot; zip -r google-api-python-client-samples-$(shell python setup.py --version).zip samples

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

cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal
cd snapshot; twine upload dist/*

0 comments on commit 8889c4d

Please sign in to comment.