Skip to content

Building for PyPI and Conda

Ian edited this page May 5, 2021 · 5 revisions

Steps for tagging / releasing to PyPI and Conda

$ bumpversion (major|minor|patch) --tag
$ git push --tags

# For PyPI:
$ python setup.py sdist bdist_wheel
$ twine upload dist/*

# For anaconda:
$ conda skeleton pypi sequence-qc
---
Optional fixes:
    - Resolve ContextualVersionConflict
    - Change "source: url" in meta.yaml to "files.pythonhosted.org/..."
---
$ conda build -c conda-forge -c bioconda -c plotly sequence-qc
$ anaconda upload /Users/ianjohnson/miniconda3/conda-bld/osx-64/sequence-qc-<put_version_here>-py37_0.tar.bz2
Clone this wiki locally