You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
223 B

  1. #!/usr/bin/env bash
  2. cat << EOF > /root/.pypirc
  3. [distutils]
  4. index-servers=pypi
  5. [pypi]
  6. repository=https://upload.pypi.org/legacy/
  7. username=${PYPI_USERNAME}
  8. password=${PYPI_PASSWORD}
  9. EOF
  10. python setup.py sdist upload -r pypi