diff --git a/.github/workflows/pythonpublish.yaml b/.github/workflows/pythonpublish.yaml new file mode 100644 index 00000000..00845525 --- /dev/null +++ b/.github/workflows/pythonpublish.yaml @@ -0,0 +1,26 @@ +name: Upload Python Package + +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools setuptools-scm wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/* diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..760446d6 --- /dev/null +++ b/README.rst @@ -0,0 +1,15 @@ +=============================== +cmip6_preprocessing +=============================== + +.. image:: https://badge.fury.io/py/cmip6_preprocessing.svg + :target: https://badge.fury.io/py/cmip6_preprocessing +.. image:: https://img.shields.io/travis/jbusecke/cmip6_preprocessing.svg + :target: https://travis-ci.org/jbusecke/cmip6_preprocessing +.. image:: https://circleci.com/gh/jbusecke/cmip6_preprocessing.svg?style=svg + :target: https://circleci.com/gh/jbusecke/cmip6_preprocessing +.. image:: https://codecov.io/gh/jbusecke/cmip6_preprocessing/branch/master/graph/badge.svg + :target: https://codecov.io/gh/jbusecke/cmip6_preprocessing + + +Some useful functions to make analysis across cmip6 modesl easier diff --git a/doc/whats-new.rst b/doc/whats-new.rst new file mode 100644 index 00000000..f9b0c039 --- /dev/null +++ b/doc/whats-new.rst @@ -0,0 +1,11 @@ +.. currentmodule:: cmip6_preprocessing + +What's New +=========== + +.. _whats-new.0.1.0: + +v0.1.0 (2/21/2020) +---------------------- + +Initial release.