picmi-standard / picmi

Standard input format for Particle-In-Cell codes
https://picmi.readthedocs.io
Other
35 stars 25 forks source link

Add script to automatically publish new releases to PyPI #114

Closed RemiLehe closed 1 month ago

RemiLehe commented 2 months ago

This adds a script to automatically publish new PICMI releases to PyPI (see https://docs.pypi.org/trusted-publishers/)

Inspired by: https://github.com/LASY-org/lasy/pull/159 Also used in:

dpgrote commented 2 months ago

Thanks! This looks good. Two comments:

Could the same comment that was added to the README in fbpic be added here?

This uses python 3.11. Is there a reason not to use the latest, python 3.12?

dpgrote commented 1 month ago

Can you also update the text in PICMI_Python/README.md, removing the comments on how to upload to PyPI?