forked from skycoin/pyskycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skyapi] refs skycoin#131 changing permission of deploy-with-twine.sh
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
#Install twine | ||
pip install -U twine | ||
echo "Installing twine" | ||
python -m pip install twine | ||
|
||
#Make dist | ||
#Make wheels | ||
echo "Making wheels" | ||
make sdist | ||
make bdist_wheel | ||
if [ $TRAVIS_OS_NAME == "linux" && $TOXENV == "py37" ]; then make bdist_manylinux_amd64 ; fi | ||
|
||
#Upload to PyPi | ||
echo "Upload to PyPi" | ||
twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ dist/* | ||
twine upload -u $PYPITEST_USER -p $PYPITEST_PWD --repository-url https://upload.pypi.org/legacy/ lib/skyapi/dist/* |