PyEllips / pyElli

An open source ellipsometry analysis tool for reproducible and comprehensible building of optical models.
https://pyelli.readthedocs.io
GNU General Public License v3.0
17 stars 6 forks source link

Use OIDC for publishing #184

Closed domna closed 1 month ago

domna commented 1 month ago

This updates the publishing routine based on this guide.

Added features

Remarks

In principle it's also possible to upload each build to test.pypi to make it available. However, the setuptools scm version makes problems in this case because it always contains a localpart (+g<hash>) which is not allowed for test.pypi. There are discussions for adapting this behaviour (https://github.com/pypa/setuptools_scm/issues/455 and https://github.com/pypa/setuptools_scm/issues/478). I decided for now that this feature is not really important for, so I removed it. Just wanted to mention it here in case we want to have it in the future.