For Developers

When you need to compile ecell4_base by yourself

Please refer to https://github.com/ecell/ecell4_base/blob/master/azure-pipelines.yml

pip install setup.py install

Releasing ecell4

GitHub

  1. Update ecell4_base version in https://github.com/ecell/ecell4_base/blob/master/setup.py

  2. Git tag push v*.*.* to ecell4_base. GitHub Actions automatically create the new release. You do NOT need to create the release by yourself.

  3. Write release note based on the pull requests.

PyPI

  1. Update cmake and gsl versions in https://github.com/ecell/manylinux-dockerimage/blob/master/Dockerfile with the latest conda-forge

  2. Update boost version in https://github.com/ecell/ecell4_base/blob/master/.circleci/config.yml with the latest conda-forge

  3. Check pip install THE_CIRCLECI_ARTIFACT_PYTHONWHEEL in Google Colab

  4. twine upload the manylinux wheel

conda-forge

  1. Sync https://github.com/ecell/ecell4_base-feedstock with upstream.

  2. Create new branch to https://github.com/ecell/ecell4_base-feedstock and checkout it.

  3. Update meta.yaml - version - build:number: to 0. - sha256 checksum

  4. Rerender feedstocks.

  5. Send pull request to https://github.com/conda-forge/ecell4_base-feedstock/blob/master/recipe/meta.yaml

How to release ecell4 (not ecell4_base)

GitHub

  1. Update version in setup.py

  2. Create release with GitHub releases

PyPI

  1. pip install twine

  2. python setup.py sdist

  3. twine upload dist/*