0

I've setup my own PyPI server and I periodically backup all the packages present (their .tar.gz to be exact) in the server. How do I upload them back to a new PyPI server in case of recovery or migration of hardware? (I do not want to rebuild everything and just use the existing .tar.gz files)

I'm using localshop to run the PyPI server.

Rubbal
  • 779
  • 7
  • 19

1 Answers1

0

Update: I found out twine can do this quite easily. Used this to upload my packages

twine upload -r test dist/PACKAGENAME-VERSION.tar.gz

Rubbal
  • 779
  • 7
  • 19