Skip to content

Commit

Permalink
you which to find paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nihlaeth committed Feb 26, 2017
1 parent ef052e8 commit a80a9b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/pypi_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
echo 1
set -e
set +x # double-check that x is unset
echo 2
python setup.py sdist bdist_wheel --universal
$(which python) setup.py sdist bdist_wheel --universal
echo 3
cat > ~/.pypirc << _EOF_
[distutils]
Expand All @@ -21,7 +22,7 @@ username = ${TWINE_USERNAME}
password = ${TWINE_PASSWORD}
_EOF_
echo 4
twine upload -r ${TWINE_REPOSITORY} dist/*
$(which twine) upload -r ${TWINE_REPOSITORY} dist/*

# reset ownership so that we can stop using sudo
# sudo chown --changes --recursive $(whoami):$(id --group $(whoami)) .
Expand Down

0 comments on commit a80a9b3

Please sign in to comment.