NeuroML / pyNeuroML

A single package in Python unifying scripts and modules for reading, writing, simulating and analysing NeuroML2/LEMS models.
https://docs.neuroml.org/Userdocs/Software/pyNeuroML.html
GNU Lesser General Public License v3.0
36 stars 30 forks source link

Create python-publish.yml #114

Closed sanjayankur31 closed 1 year ago

sanjayankur31 commented 3 years ago

Sets up the default GH action workflow to automatically publish releases on GH to PyPI

sanjayankur31 commented 3 years ago

Note: requires setting up the PyPi authentication token as a secret on GH.

pgleeson commented 3 years ago

@sanjayankur31 Does something still need to be done with secrets before this gets merged?

sanjayankur31 commented 3 years ago

@sanjayankur31 Does something still need to be done with secrets before this gets merged?

The PyPI API token needs to be stored as a "secret" on GitHub so that it can access it from the action:

https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries