Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
JrGoodle committed Apr 18, 2020
1 parent ab4593f commit 8e68317
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions script/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ else

echo 'Create source distribution'
echo '--------------------------'
sudo python3 setup.py sdist
python3 setup.py sdist
echo ''

echo 'Create wheel'
echo '------------'
sudo python3 setup.py bdist_wheel
python3 setup.py bdist_wheel
echo ''

echo "Creating new tag and GitHub Release"
Expand All @@ -60,10 +60,11 @@ else
--file "${artifact}"
done
popd || exit 1
popd || exit 1
echo ''

echo 'Uploading to PyPI'
echo '-----------------'
twine upload dist/*
twine upload src/dist/*
echo ''
fi
2 changes: 1 addition & 1 deletion script/travis/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../.." || exit 1

if [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew install github-release
sudo -H pip3 install twine wheel
pip3 install twine wheel
pip3 install -r src/requirements.txt
elif [ "$TRAVIS_OS_NAME" = "linux" ]; then
python3 -m pip install -r src/requirements.txt
Expand Down

0 comments on commit 8e68317

Please sign in to comment.