R
Ryan Kelly
I'm pleased to announce the latest release of esky, a tool for keeping
your frozen apps fresh:
Downloads: http://pypi.python.org/pypi/esky/
Latest Version: 0.2.1
License: BSD
Esky is an auto-update framework for frozen python apps, built on top of
bbfreeze. It provides a simple API through which apps can find, fetch
and install updates, and a bootstrapping mechanism that keeps the app
safe in the face of failed or partial updates.
A frozen app that wants to auto-update itself might run the following in
a background thread:
if hasattr(sys,"frozen"):
app = esky.Esky(sys.executable,"http://myapp.com/downloads/")
new_version = app.find_update()
if new_version is not None:
app.install_update(new_version)
The new version of the application is linked into the app directory in
the safest possible manner: using a carefully-ordered sequence of
atomic renames on POSIX, using MoveFileTransacted on Windows Vista or
later, and using the "rename-and-pray" method on older versions of
Windows. Failed or partial updates are detected and cleaned up
automatically.
Enjoy!
Ryan
--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
(e-mail address removed) | http://www.rfk.id.au/ramblings/gpg/ for details
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkr1dBMACgkQfI5S64uP50qHfwCgospeX6ZVv6j8lMwTsrnsWTYi
L8gAn0LMWlVHw0JLuEYk8T/8jKe+3EUt
=fNpL
-----END PGP SIGNATURE-----
your frozen apps fresh:
Downloads: http://pypi.python.org/pypi/esky/
Latest Version: 0.2.1
License: BSD
Esky is an auto-update framework for frozen python apps, built on top of
bbfreeze. It provides a simple API through which apps can find, fetch
and install updates, and a bootstrapping mechanism that keeps the app
safe in the face of failed or partial updates.
A frozen app that wants to auto-update itself might run the following in
a background thread:
if hasattr(sys,"frozen"):
app = esky.Esky(sys.executable,"http://myapp.com/downloads/")
new_version = app.find_update()
if new_version is not None:
app.install_update(new_version)
The new version of the application is linked into the app directory in
the safest possible manner: using a carefully-ordered sequence of
atomic renames on POSIX, using MoveFileTransacted on Windows Vista or
later, and using the "rename-and-pray" method on older versions of
Windows. Failed or partial updates are detected and cleaned up
automatically.
Enjoy!
Ryan
--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
(e-mail address removed) | http://www.rfk.id.au/ramblings/gpg/ for details
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkr1dBMACgkQfI5S64uP50qHfwCgospeX6ZVv6j8lMwTsrnsWTYi
L8gAn0LMWlVHw0JLuEYk8T/8jKe+3EUt
=fNpL
-----END PGP SIGNATURE-----