Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

ANN: esky 0.2.1

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


ryan at rfk

Nov 7, 2009, 5:20 AM

Post #1 of 6 (92 views)
Permalink
ANN: esky 0.2.1

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
ryan[at]rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details
Attachments: signature.asc (0.19 KB)


aahz at pythoncraft

Nov 12, 2009, 7:19 PM

Post #2 of 6 (77 views)
Permalink
Re: ANN: esky 0.2.1 [In reply to]

In article <mailman.23.1257600051.2873.python-list[at]python.org>,
Ryan Kelly <ryan[at]rfk.id.au> wrote:
>
>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.

Recently I was looking into distribution mechanisms, and I passed over
bbfreeze because I saw no indication that Python 2.6 was supported.
Kind of a bummer because esky looks pretty cool.
--
Aahz (aahz[at]pythoncraft.com) <*> http://www.pythoncraft.com/

[on old computer technologies and programmers] "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As." --Andrew Dalke
--
http://mail.python.org/mailman/listinfo/python-list


ryan at rfk

Nov 12, 2009, 7:39 PM

Post #3 of 6 (77 views)
Permalink
Re: ANN: esky 0.2.1 [In reply to]

> >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.
>
> Recently I was looking into distribution mechanisms, and I passed over
> bbfreeze because I saw no indication that Python 2.6 was supported.

Not sure if it's officially supported, but I do most of my development
on Python 2.6 and bbfreeze hasn't given me any problems as yet.

Cheers,

Ryan



--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
ryan[at]rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details
Attachments: signature.asc (0.19 KB)


aahz at pythoncraft

Nov 13, 2009, 8:07 AM

Post #4 of 6 (72 views)
Permalink
Re: ANN: esky 0.2.1 [In reply to]

In article <mailman.344.1258083604.2873.python-list[at]python.org>,
Ryan Kelly <ryan[at]rfk.id.au> wrote:
>
>>>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.
>>
>> Recently I was looking into distribution mechanisms, and I passed over
>> bbfreeze because I saw no indication that Python 2.6 was supported.
>
>Not sure if it's officially supported, but I do most of my development
>on Python 2.6 and bbfreeze hasn't given me any problems as yet.

Also, bbfreeze doesn't seem to have active development.
--
Aahz (aahz[at]pythoncraft.com) <*> http://www.pythoncraft.com/

[on old computer technologies and programmers] "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As." --Andrew Dalke
--
http://mail.python.org/mailman/listinfo/python-list


ryan at rfk

Nov 13, 2009, 3:28 PM

Post #5 of 6 (65 views)
Permalink
Re: ANN: esky 0.2.1 [In reply to]

> >> Recently I was looking into distribution mechanisms, and I passed over
> >> bbfreeze because I saw no indication that Python 2.6 was supported.
> >
> >Not sure if it's officially supported, but I do most of my development
> >on Python 2.6 and bbfreeze hasn't given me any problems as yet.
>
> Also, bbfreeze doesn't seem to have active development.

It's slow but certainly active. Development was recently moved to
github with almost no fanfare (in fact I only discovered the github site
by accident):

http://github.com/schmir/bbfreeze


Out of curiosity, what freezer package did you settle on in the end?
I'm curious it see if esky could easily switch between different
freezers (although it currently depends on some rather deep details of
the bbfreeze format).


Cheers,

Ryan


--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
ryan[at]rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details
Attachments: signature.asc (0.19 KB)


aahz at pythoncraft

Nov 13, 2009, 5:14 PM

Post #6 of 6 (62 views)
Permalink
Re: ANN: esky 0.2.1 [In reply to]

In article <mailman.391.1258154934.2873.python-list[at]python.org>,
Ryan Kelly <ryan[at]rfk.id.au> wrote:
>
>Out of curiosity, what freezer package did you settle on in the end?
>I'm curious it see if esky could easily switch between different
>freezers (although it currently depends on some rather deep details of
>the bbfreeze format).

We're currently using py2app and py2exe and are planning to use cx_freeze
for Linux.
--
Aahz (aahz[at]pythoncraft.com) <*> http://www.pythoncraft.com/

[on old computer technologies and programmers] "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As." --Andrew Dalke
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.