ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
608 stars 161 forks source link

Automating wheel uploads to PyPi #502

Closed stnava closed 11 months ago

stnava commented 11 months ago

Note about a WIP: automating upload of wheels on ANTsPy tags

Following these instructions:

https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

I've completed the first few steps and reached the section https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

am not sure how to deal with this step within the current GitHub Actions.

any help/insight appreciated.

one side effect of this work is that the current wheels cannot be uploaded by me. as such, v0.4.1 is currently in limbo with regards to pypi wheels. I have them but cannot upload them. something about 2FA.

cookpa commented 11 months ago

Hi @stnava , I'm just back from traveling, I see you have added a "PYPI_API_TOKEN" to the repo secrets and 0.4.2 wheels are up. Is this issue resolved now?

stnava commented 11 months ago

only partially - see my comment https://github.com/ANTsX/ANTsPy/issues/503

stnava commented 11 months ago

closed for now.