Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.59 KB

File metadata and controls

53 lines (36 loc) · 1.59 KB

Updating packages etc

Release new version on PyPI

This is the process for the "code" repository in https://github.com/joommf, for example https://github.com/joommf/discretisedfield :

  • make changes as required
  • edit setup.py and increase version number
  • git tag -a X.Y.Z -m "update version number / major new feature"
  • run make release to upload new version to PyPI

PyPI webpage for example:https://pypi.python.org/pypi/discretisedfield

Update conda-forge package

Once the PyPI is updated, we can rebuild the conda packages:

  • Find the conda-forge repository (conda-forge/-feedstock), for our example: https://github.com/conda-forge/discretisedfield-feedstock

  • fork the repository

  • edit recipe/meta.yml:

    • update version number
    • update sha256 key (run openssl sha256 <tarfile> on the tar file we can download from the pypi page)
    • update build number if version number doesn't change, reset to 0 otherwise
  • create pull request

  • if all tests pass, merge

Docker images

joommf/oommf image

joommf/joommf image

joommf/tryjoommf image