Questions tagged [esky]

Esky is an auto-update framework for frozen Python applications

Esky provides a simple API, by the main interface, the 'Esky' class, 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.

Esky is currently capable of freezing apps with py2exe, py2app, cxfreeze and bbfreeze. Adding support for other freezer programs should be straightforward; patches will be gratefully accepted.

Question tagged with Esky should describe problems using it's API.

Esky package site

26 questions
28
votes
4 answers

Auto updating a python executable generated with pyinstaller

I have a desktop app that I'm working on and I am using PyInstaller to generate de distribution files. I have chosen PyInstaller over py2exe because it is very easy to use and I don't need to care about windows dlls, but when I use py2exe I can…
Fernando Freitas Alves
  • 3,709
  • 3
  • 26
  • 45
10
votes
4 answers

'importlib._bootstrap' has no attribute 'SourceLoader'

I'm trying to build an app with cx_freeze and esky. It was working before (ok, maybe some months ago. Since then, python 3.5 went out). I have the following exception: File "/usr/lib/python3.5/site-packages/esky/util.py", line 578, in…
JPFrancoia
  • 4,866
  • 10
  • 43
  • 73
3
votes
1 answer

Python Project Structure for Esky

My question is essentially, "How should I structure the files and folders of my frozen, deployed Python-based Windows application." To understand my situation, here's some background: I'm building a desktop application with Python 2.7 for my…
flutefreak7
  • 2,321
  • 5
  • 29
  • 39
3
votes
1 answer

Build error when using sympy with esky

I encounter the following error when freezing an app with esky. This occurs when using py2exe as the freezer module. error: c:\docume~1\user\locals~1\temp\tmpkizl0t\scripts\my_script.py: The process cannot access the file because it is being used by…
Celt
  • 31
  • 2
2
votes
0 answers

Freezing app with Esky and zmq modules

I'm trying to freeze my app using Esky and cx_freeze. My setup.py looks something like this: from esky.bdist_esky import Executable from distutils.core import setup includes = ["zmq"] exe = Executable("main.py") setup( name = "Jarvis", …
pompa
  • 688
  • 3
  • 12
2
votes
2 answers

Get progress by Esky tasks

I'm using Esky with my frozen app. It has the following properties and methods are available on the Esky class: app.version: the current best available version. app.active_version: the currently-executing version, or None …
iTayb
  • 12,373
  • 24
  • 81
  • 135
1
vote
2 answers

Error making auto-update zip cx_freeze and esky 'Freezer' object has no attribute 'createLibraryZip'

I'm trying to create auto-update zip using esky, I was able to create msi but when I try to make the auto-update zip i get an error referring that 'Freezer' object has no attribute 'createLibraryZip' I'm developing this on a Windows 10 machine using…
Ezequiel Alanis
  • 451
  • 5
  • 12
1
vote
1 answer

Use GitHub Releases with Esky

Is it possible to use the github releases as a sever to host updates that esky can use? And if yes, how do I implement this especially with regards to the url I provide to the updater = esky.Esky(sys.executable, "http://localhost:8000") command?…
1
vote
1 answer

Create .app / .dmg with Esky

I'm developing a GUI app in Python. I use cx_Freeze to turn my app into .app/ / .dmg files for OS X users. So, for instance I can use python setup.py bdist_dmg to make cx_Freeze create a .dmg file that my users can use to install my app. I now want…
Michael Herrmann
  • 4,832
  • 3
  • 38
  • 53
1
vote
1 answer

Is there a way to send post data using esky?

Is it possible to send post data in esky? #I need to be able to send post data in this request app = esky.Esky(sys.executable,"https://example-app.com/downloads/")
yuval
  • 2,848
  • 4
  • 31
  • 51
1
vote
0 answers

Python Windows Service - Updating with Esky

I have a working Windows Service, That I use py2exe currently to build into an exe, and then use WiX toolset to build the MSI. This structure works, however, when introducing esky into the mix for silent and automatic service updates, I am not…
Busturdust
  • 2,447
  • 24
  • 41
1
vote
1 answer

Why does esky create 2 executables?

esky 0.9.8 creates 2 executables of my application. There is an inner executable that weights less then the outer executable. I would like to know if esky is supposed to create 2 executables and if there are any drawbacks or advantages in creating 2…
yuval
  • 2,848
  • 4
  • 31
  • 51
1
vote
3 answers

How do I freeze Celery using py2exe and esky?

I'm trying to freeze a Python application and Celery, packaged up with esky for update capabilities. I need Celery to be frozen so that it has visibility into the modules from the first executable that will also be present in the library.zip file…
1
vote
2 answers

Python script into a standalone single file executable that can auto-update?

I wrote a program in Python 2.7 for my office. Using PyInstaller with the --onefile flag, I've compiled it into a single EXE file to distribute to my co-workers. What I'm trying to figure out now is how to supply updates automatically but still keep…
bigcat42
  • 247
  • 2
  • 7
1
vote
1 answer

How can I move config file between esky updates?

I have an ini file that contains the configuration of my app. Esky creates new folders for the updated versions. How can I make sure that configuration file gets copied?
iTayb
  • 12,373
  • 24
  • 81
  • 135
1
2