ioos / ioos-python-package-skeleton

Boilerplate repository for IOOS packages
https://ioos.github.io/ioos-python-package-skeleton
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

Create docs based on the slides #1

Closed ocefpaf closed 4 years ago

ocefpaf commented 4 years ago
ocefpaf commented 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
travis encrypt "<your-token-here>"
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.
ocefpaf commented 4 years ago

Add setuptools_scm steps from https://github.com/ioos/erddapy/pull/104