publish 260B

123456789101112131415
  1. #!/usr/bin/env bash
  2. # vim: filetype=sh:
  3. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  4. cd $DIR
  5. cd ..
  6. if [ -z "$VIRTUAL_ENV" ]; then
  7. . activate
  8. fi
  9. pip install wheel twine
  10. python setup.py bdist_wheel -d dist
  11. twine upload -r pypi-internal dist/*