Add automated Conda publishing to release workflow#287
Conversation
jimboid
left a comment
There was a problem hiding this comment.
The changes in this PR bring about our first software package being added to our channel. This is a great first step in bringing wider availability since conda is more popular than pypi and virtual env. Workflow looks like it has the necessary steps and the smoke tests are a nice touch.
Only change I would request is that we add the conda way to virtualise and install to the getting started documentation. If you were preferring to do this after the workflow was verified and in a separate PR then let me know and I''l change this to approve
That's a good idea, I can add that to the docs now. |
jimboid
left a comment
There was a problem hiding this comment.
All looks great! Thanks for fixing the logo in the main readme too.
Summary
Add Conda packaging and automated publishing to the CCPBioSim Anaconda.org channel as part of the existing release workflow.
Changes
Conda recipe added (
conda-recipe/meta.yaml)noarch: pythonconda-build recipe for CodeEntropy.pyproject.tomland defines theCodeEntropyCLI entry point.Release workflow updated to publish to Anaconda.org
condajob.CCPBioSimAnaconda.org organisation.ANACONDA_TOKENGitHub secret for authentication.Pre-commit updated to allow Conda Jinja recipe
.pre-commit-config.yamlto excludeconda-recipe/meta.yamlfromcheck-yaml(Conda recipes contain Jinja templating and are not valid strict YAML).Impact
conda install -c CCPBioSim CodeEntropy) for users in Conda/HPC workflows.