Closed ocefpaf closed 4 years ago
Add docs on how to create an auto-deployment for PyPI:
conda create --name RUBY rb-bundler compilers
conda activate RUBY
gem install travis --no-rdoc --no-ri
login on your PyPI account and create a limited scope (upload for a single project) token
encrypt the token with Travis-CI CLI tool:
travis encrypt "<your-token-here>"
.travis.yml
file:deploy:
skip_cleanup: true
provider: pypi
user: "__token__"
password:
secure: "results-from-the-command-above" # add the encrypted token here
distributions: sdist bdist_wheel
upload_docs: no
on:
repo: org/repo # change here for your project
tags: true
all_branches: master
condition: '$TRAVIS_JOB_NAME == "docs"' # publish on a job named docs, adapt according to your Travis-CI configuration.
Add setuptools_scm
steps from https://github.com/ioos/erddapy/pull/104