0

I use Python zipapp (more precisely shiv) to ship Python module.

I would like to store generated zipapp (.pyz) on Nexus (ideally pypi on Nexus) to keep track of my built artifact in a CI/CD pipeline.

How can I upload .pyz on Nexus?

Is it possible to store it in hosted pypi on Nexus?

Thomas
  • 1,164
  • 13
  • 41

1 Answers1

0

I finally ended up by pushing the .pyz artifact in a maven repository on Nexus. It seems to work pretty well by pushing the artifact with a simple curl:

curl -v -u NEXUS_USER:NEXUS_PASSWORD \
   --upload-file artifact.pyz \ 
   NEXUS_URL/repository/my_repo/artifact.pyz
Thomas
  • 1,164
  • 13
  • 41