Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are common strategies for updating python programs?

I have a Windows program that I made with python and py2exe. I'd like to create an updating feature so that the software can be readily updated.

What are common ways of going about this?

like image 528
rectangletangle Avatar asked Apr 28 '26 08:04

rectangletangle


1 Answers

If you think your code might benefit others, you could put it up on PyPI. Then having different versions is just updating your package, or telling your clients to use easy_install to get the latest version. This doesn't push updates, though.

You can try Esky, which is an auto-update framework for managing different versions, including fetching new versions and rolling back partial updates. It can be found on PyPI.

That said, I haven't used Esky. If you wish to roll your own auto-update feature, you might want to look at Boxed Dice to see how they got around to it.

like image 122
Ehtesh Choudhury Avatar answered Apr 29 '26 21:04

Ehtesh Choudhury



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!