Skip to content

v0.2.0-smFRET calculation #121

v0.2.0-smFRET calculation

v0.2.0-smFRET calculation #121

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
strategy:
matrix:
os: [macos-latest]
python: [3.7]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy cython mdtraj
pip install setuptools 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/*.whl --verbose