esky

Error using Requests in a frozen app

ぃ、小莉子 提交于 2020-01-17 00:27:16
问题 I am trying to use the excelent requests library in a frozen app. The code works fine when interpreted, but it stops working when I generate the dist executable. I tried this solution, but it is not working (Requests library: missing file after cx_freeze) My setup.py file: import esky.bdist_esky from esky.bdist_esky import Executable as Executable_Esky from cx_Freeze import setup, Executable from myapp import VERSION import requests.certs packages = [ 'PIL', '_winreg', 'esky', ] includes = [

Can't delete old versions in esky 0.9.8 : Python

痞子三分冷 提交于 2020-01-06 13:51:44
问题 I use esky 0.9.8 : Python. I update my executable frequently to a new version using esky. This works all and well besides the fact that esky doesn't erase the old version of the executable. This is the code I use: if getattr(sys,"frozen",False): app = esky.Esky(sys.executable,"https://example-app.com/downloads/") print "You are running: %s" % app.active_version try: if(app.find_update() != None): app.auto_update() appexe = esky.util.appexe_from_executable(sys.executable) os.execv(appexe,

can't uninstall latest version in Esky

大兔子大兔子 提交于 2019-12-11 20:38:13
问题 I am trying to uninstall a version in esky using "app.uninstall_version(v)", but when I do so I get this error: [Error 5] Access is denied. Traceback (most recent call last): File "Example.py", line 35, in EskyUpdate File "esky\__init__.pyc", line 951, in uninstall_version File "esky\__init__.pyc", line 1008, in _cleanup_bootstrap_env File "esky\fstransact\win32txf.pyc", line 200, in remove File "esky\fstransact\win32txf.pyc", line 214, in _remove File "esky\fstransact\win32txf.pyc", line 24,