cloudmatrix / esky Goto Github PK
View Code? Open in Web Editor NEWan auto-update framework for frozen python apps
License: BSD 3-Clause "New" or "Revised" License
an auto-update framework for frozen python apps
License: BSD 3-Clause "New" or "Revised" License
When I use such an option:
options = {
"bdist_esky":{
# forcibly include some other modules
"includes": ["SocketServer","email"],
# force esky to freeze the app using py2exe
"freezer_module": "py2exe",
# tweak the options used by py2exe
"freezer_options": {
"optimize" : 0,
"skip_archive" : 1,
"excludes" : excludes,
#"bundle_files" : 1,
#"compressed" : 1,
}
}
}
I got the error:
error: dist\Loads-0.2.win32\Loads-0.2.win32\library.zip: No such file or directory
When using Python 2.7.2 and MacOS X 10.7 and creating my app, I appear to be losing the +x flag on the contents of the <app>/Contents/MacOS/
folder. This contains python
and my application bootstrapper.
Using the Python zipfile module to query their modes gives this:
>>> import zipfile
>>> zip = zipfile.ZipFile('dist/myapp-1.0.0.macosx-10_3-fat.zip', 'r')
>>> print oct(zip.getinfo('myapp.app/Contents/MacOS/python').external_attr >> 16L)
'0100644L'
This handy stackoverflow question discusses the external_attr attribute on ZipInfo objects
My application could not update without downloading the whole zip file and that happened only when the second update applied on Windows (no problem on Ubuntu and Mac OS X).
The first version, 1.0.1, was updated successfully from appname-1.0.2.win32.from-1.0.1.patch, but after that the app failed to update with appname-1.0.3.win32.from-1.0.2.patch and could be updated only after downloading the whole .zip file (around 13 MB).
If I re-installed application, it would be happily to update from 1.0.1 to 1.0.3 without the .zip file download. Yet, problem reappears when 1.0.4 patch to be applied subsequently.
If the build folder, under appdata, contains a new file, such as a log file or crash dump, any attempt to apply a patch will result in a full install download, which is considerably larger than the bsdiff4
based patch.
The problem lies in the calculate_digest
function which walks the entire directory of the application. If a file has been created in the build folder, or the user has created a file, such as a shortcut, it will be added to the calculated hash. Since the file doesn't exist at the time the patch is created, the calculated hash and read hash won't match and a PatchError
exception is raised. This is silently caught by the update mechanism, and the full (new) build is downloaded.
There's a number of possibilities to achieve infinite update behaviour in DefaultVersionFinder.fetch_version_iter:
request for update -> error downloading or error saving update (exception in DefaultVersionFinder._fetch_file_iter) -> retry
For example the cases may be:
In my case one client of thousands tries to update with such a message in webserver log (about 10 requests per second along hours):
xx.xx.xx.xx - - "GET /updates/app-0.1.win32.0.2.patch HTTP/1.1" 200 36300 "-" "Python-urllib/3.2"
The patch size is more than 200Kb, but every time there is 36300 bytes in log. That's really strange. May be there's a sort of race condition with urllib on windows or download timeout (but it's set to default on client).
And the really frustrating is that I can't do anything with this client. Producing 403, 404 or "connection refused" for him on this patch doesn't do the thing, because open_url in _fetch_file_iter leads to exception raising (descendant of EnvironmentError) in urllib and retrying to download the patch.
So I've desided to do two things in custom implementation of version finder:
But I have no ideas how to fix correctly this esky behaviour on DefaultVersionFinder level.
Since urllib.urlopen uses a blocking socket, if the internet connection drops mid-download, it will hang forever, and you have to force quit the application to retry the download. This also means you cannot cancel the download midway through if, say, you suddenly need to reboot or something. I could not find a way to get the sockets used by urllib.urlopen to be non-blocking or timeout properly, and it looked like this was just part of how it was designed. After some hacking, I found that using urllib.urlretrieve avoided this problem, but the reporthook callback approach doesn't work well with the generator approach fetch_file_iter uses.
What would be the best way to approach this?
When running : python setup_esky.py bdist_esky
python setup_esky.py bdist_esky
C:\Python25\lib\site-packages\esky\bdist_esky\pypyc.py:61: Warning: 'with' will
become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "setup_esky.py", line 1, in
from esky import bdist_esky
File "C:\Python25\Lib\site-packages\esky\bdist_esky__init__.py", line 43, in
from esky.bdist_esky import pypyc
File "C:\Python25\lib\site-packages\esky\bdist_esky\pypyc.py", line 61
with open(str(cfile),"r+b") as f:
Using from future import with_statement at the beginning of pypyc.py solves this for me
Judging by how esky works, it should be possible to give it a specific URL to update to, even if it is a different app entirely. I'd like to do this because of the way that app I'm working with works. I wanted the patches to be stored on Amazon S3. When the client contacts the server, the server will mention that it can update the client if certain conditions are met. It also would give it the amazon S3 url at this point.
The current workaround I can see is to manually download the file from S3, and just point esky to a local directory, but I'm not sure if pointing it to a local directory is supported.
So basically, feature request.
Running esky 0.9.8 on Windows Server 2008 R2 Datacenter
If I run app.fetch_version('2014.99.0') where 2014.99.0 is the newest version of my software in the update_url it works fine.
If I run app.fetch_version('2014.80.0') then I get an error and it is unable to download the older version.
Hey Ryan,
I am looking into sign tool and am thinking of adding signtool support into esky.
I don't want to zip the files and the unzip them to sign them.
What do you think?
Thomas
There's no explanation on exactly how to run the unittests, so after installing esky as an egg (using easy_install), attempting to run the unittests from the command line will error on several tests due to an inability to resolve the directory name of file.
I'm running them on the Windows command line using python -m unittest esky.tests.test_esky
and get this as output (for 8 tests)
======================================================================
ERROR: test_esky_py2exe (esky.tests.test_esky.TestEsky)
----------------------------------------------------------------------
Traceback (most recent call last):
File "esky\tests\test_esky.py", line 90, in test_esky_py2exe
self._run_eskytester({"bdist_esky":{"freezer_module":"py2exe"}})
File "esky\tests\test_esky.py", line 223, in _run_eskytester
shutil.copytree(os.path.join(esky_root,"esky","tests","eskytester"),"eskytester")
File "c:\depot\games\shared_tools\python\27\lib\shutil.py", line 168, in copytree
names = os.listdir(src)
WindowsError: [Error 3] The system cannot find the path specified: 'esky\\tests\\eskytester/*.*'
I have a script that only outputs to a file, so I dont want any console window to show up.
Now with py2exe I used:
from distutils.core import setup
import py2exe
setup(
name = "myprog",
version = "0.2.40",
windows = ['myprog.py']
)
but using the equivalent with esky fails:
from esky import bdist_esky
from distutils.core import setup
setup(
name = "myprog",
version = "0.2.40",
windows = ["myprog.py"]
)
fails with
e:\myprog_source>python setup.py
bdist_esky
running bdist_esky
Traceback (most recent call last):
File "setup.py", line 7, in <module>
windows = ["myprog.py"]
File "D:\ActivePython27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "D:\ActivePython27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "D:\ActivePython27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "D:\ActivePython27\lib\site-packages\esky\bdist_esky\__init__.py", line 3
09, in run
self._run()
File "D:\ActivePython27\lib\site-packages\esky\bdist_esky\__init__.py", line 3
17, in _run
self._run_freeze_scripts()
File "D:\ActivePython27\lib\site-packages\esky\bdist_esky\__init__.py", line 3
42, in _run_freeze_scripts
self.freezer_module.freeze(self)
File "D:\ActivePython27\lib\site-packages\esky\bdist_esky\f_py2exe.py", line 1
07, in freeze
raise RuntimeError(msg)
RuntimeError: don't call setup(windows=[...]) with esky; use setup(scripts=[...]
) instead
Is there a way to freeze a windowless application with esky?
(i've seen the gui_only
option in esky/bdist_esky/f_py2exe.py, but I'm not quite sure how to use it in my setup script.)
Thanks for the nice library btw!
Hi,
I develop a software that gets deployed on many boxes running AV software that uses reputation technologies, I came across an issue with my generated bundles, it looks like the original Python libraries (ie python27.dll) gets its PE resources modified from:
STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
1000, "2.7"
}
to:
STRINGTABLE
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
1000, "AID"
}
are the above changes really necessary for esky to properly work ?, is there any way to disable resource modification on third party libraries or can we add an option to the setup to avoid doing it?.
alternatively I can ask IT to whitelist these components, but I'm just wondering if the above changes are actually needed for esky to operate.
Best Regards,
Mario
PS: esky rocks!, kudos to you all for the great work done here!
I'm using:
Python 3.4.1
cx_Freeze 4.3.3
Esky 0.9.8
Windows 8
When I attempt to build the tutorial code that prints hello world, the cx_freeze example.exe works, but the esky bootstrapped example.exe gives the following error.
ValueError: bad marshal data (unknown type code)
Fatal Python error: unable to locate initialization module
Current thread 0x000024d0 (most recent call first):
The setup.py script is as follows:
import sys
from esky import bdist_esky
from distutils.core import setup
if sys.platform in ['win32', 'cygwin', 'win64']:
setup(
name = "example-app",
version = "0.3",
scripts = ["example.py"],
options = {"bdist_esky": {
"freezer_module":"cxfreeze",
}}
)
Hey guys,
thanks for the library, it's really great. I'm having a problem with bdisk_esky on OS X though. When building with bdist_esky the build fails with the error mentioned in the title. I've created a sample project to verify it's not a problem related directly to my project and the error persists.
My setup consists of the following:
brew install python --framework
), since I need to build a standalone appwhich python
outputs: /usr/local/bin/python
so I'm using the python version installed by homebrew
My sample project consists of hello.py and setup.py.
hello.py:
print "HELLO WORLD"
setup.py
from esky import bdist_esky
from distutils.core import setup
setup(
name = "example-app",
version = "0.1",
# All executables are listed in the "scripts" argument
scripts = ["hello.py"],
options = {"py2app": {
}}
)
I build the app using python setup.py bdist_esky
which produces the following output (please excuse the length but I'm not really sure which lines are the important ones)
running bdist_esky
running build_scripts
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/temp
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64
creating build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/lib-dynload
creating build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/Frameworks
*** using recipe: virtualenv ***
*** using recipe: sip ***
*** using recipe: email ***
*** filtering dependencies ***
415 total
46 filtered
6 orphaned
369 remaining
*** create binaries ***
*** byte compile python files ***
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/StringIO.py to StringIO.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py to UserDict.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_LWPCookieJar.py to _LWPCookieJar.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_MozillaCookieJar.py to _MozillaCookieJar.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/__future__.py to __future__.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_abcoll.py to _abcoll.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py to _strptime.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_threading_local.py to _threading_local.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_weakrefset.py to _weakrefset.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/abc.py to abc.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py to atexit.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/base64.py to base64.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bdb.py to bdb.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/bisect.py to bisect.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/calendar.py to calendar.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py to cmd.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py to codecs.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py to collections.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cookielib.py to cookielib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py to copy.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy_reg.py to copy_reg.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py to ctypes/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/ctypes
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/_endian.py to ctypes/_endian.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/__init__.py to ctypes/macholib/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/ctypes/macholib
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/dyld.py to ctypes/macholib/dyld.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/dylib.py to ctypes/macholib/dylib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/framework.py to ctypes/macholib/framework.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/util.py to ctypes/util.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/wintypes.py to ctypes/wintypes.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/difflib.py to difflib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/dis.py to dis.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py to distutils/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/distutils
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dep_util.py to distutils/dep_util.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/errors.py to distutils/errors.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/log.py to distutils/log.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/spawn.py to distutils/spawn.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py to distutils/sysconfig.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/text_file.py to distutils/text_file.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/util.py to distutils/util.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py to doctest.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/dummy_thread.py to dummy_thread.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/dummy_threading.py to dummy_threading.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/__init__.py to encodings/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/encodings
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/aliases.py to encodings/aliases.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/ascii.py to encodings/ascii.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/base64_codec.py to encodings/base64_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/big5.py to encodings/big5.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/big5hkscs.py to encodings/big5hkscs.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/bz2_codec.py to encodings/bz2_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/charmap.py to encodings/charmap.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp037.py to encodings/cp037.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1006.py to encodings/cp1006.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1026.py to encodings/cp1026.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1140.py to encodings/cp1140.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1250.py to encodings/cp1250.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1251.py to encodings/cp1251.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1252.py to encodings/cp1252.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1253.py to encodings/cp1253.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1254.py to encodings/cp1254.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1255.py to encodings/cp1255.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1256.py to encodings/cp1256.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1257.py to encodings/cp1257.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp1258.py to encodings/cp1258.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp424.py to encodings/cp424.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp437.py to encodings/cp437.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp500.py to encodings/cp500.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp720.py to encodings/cp720.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp737.py to encodings/cp737.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp775.py to encodings/cp775.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp850.py to encodings/cp850.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp852.py to encodings/cp852.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp855.py to encodings/cp855.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp856.py to encodings/cp856.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp857.py to encodings/cp857.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp858.py to encodings/cp858.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp860.py to encodings/cp860.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp861.py to encodings/cp861.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp862.py to encodings/cp862.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp863.py to encodings/cp863.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp864.py to encodings/cp864.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp865.py to encodings/cp865.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp866.py to encodings/cp866.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp869.py to encodings/cp869.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp874.py to encodings/cp874.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp875.py to encodings/cp875.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp932.py to encodings/cp932.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp949.py to encodings/cp949.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/cp950.py to encodings/cp950.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/euc_jis_2004.py to encodings/euc_jis_2004.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/euc_jisx0213.py to encodings/euc_jisx0213.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/euc_jp.py to encodings/euc_jp.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/euc_kr.py to encodings/euc_kr.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/gb18030.py to encodings/gb18030.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/gb2312.py to encodings/gb2312.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/gbk.py to encodings/gbk.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/hex_codec.py to encodings/hex_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/hp_roman8.py to encodings/hp_roman8.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/hz.py to encodings/hz.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/idna.py to encodings/idna.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp.py to encodings/iso2022_jp.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp_1.py to encodings/iso2022_jp_1.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp_2.py to encodings/iso2022_jp_2.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp_2004.py to encodings/iso2022_jp_2004.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp_3.py to encodings/iso2022_jp_3.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_jp_ext.py to encodings/iso2022_jp_ext.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso2022_kr.py to encodings/iso2022_kr.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_1.py to encodings/iso8859_1.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_10.py to encodings/iso8859_10.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_11.py to encodings/iso8859_11.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_13.py to encodings/iso8859_13.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_14.py to encodings/iso8859_14.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_15.py to encodings/iso8859_15.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_16.py to encodings/iso8859_16.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_2.py to encodings/iso8859_2.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_3.py to encodings/iso8859_3.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_4.py to encodings/iso8859_4.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_5.py to encodings/iso8859_5.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_6.py to encodings/iso8859_6.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_7.py to encodings/iso8859_7.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_8.py to encodings/iso8859_8.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/iso8859_9.py to encodings/iso8859_9.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/johab.py to encodings/johab.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/koi8_r.py to encodings/koi8_r.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/koi8_u.py to encodings/koi8_u.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/latin_1.py to encodings/latin_1.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_arabic.py to encodings/mac_arabic.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_centeuro.py to encodings/mac_centeuro.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_croatian.py to encodings/mac_croatian.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_cyrillic.py to encodings/mac_cyrillic.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_farsi.py to encodings/mac_farsi.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_greek.py to encodings/mac_greek.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_iceland.py to encodings/mac_iceland.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_latin2.py to encodings/mac_latin2.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_roman.py to encodings/mac_roman.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_romanian.py to encodings/mac_romanian.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mac_turkish.py to encodings/mac_turkish.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/mbcs.py to encodings/mbcs.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/palmos.py to encodings/palmos.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/ptcp154.py to encodings/ptcp154.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/punycode.py to encodings/punycode.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/quopri_codec.py to encodings/quopri_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/raw_unicode_escape.py to encodings/raw_unicode_escape.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/rot_13.py to encodings/rot_13.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/shift_jis.py to encodings/shift_jis.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/shift_jis_2004.py to encodings/shift_jis_2004.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/shift_jisx0213.py to encodings/shift_jisx0213.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/string_escape.py to encodings/string_escape.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/tis_620.py to encodings/tis_620.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/undefined.py to encodings/undefined.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/unicode_escape.py to encodings/unicode_escape.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/unicode_internal.py to encodings/unicode_internal.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_16.py to encodings/utf_16.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_16_be.py to encodings/utf_16_be.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_16_le.py to encodings/utf_16_le.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_32.py to encodings/utf_32.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_32_be.py to encodings/utf_32_be.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_32_le.py to encodings/utf_32_le.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_7.py to encodings/utf_7.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8.py to encodings/utf_8.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/utf_8_sig.py to encodings/utf_8_sig.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/uu_codec.py to encodings/uu_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/encodings/zlib_codec.py to encodings/zlib_codec.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/fnmatch.py to fnmatch.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ftplib.py to ftplib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/functools.py to functools.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py to genericpath.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/getopt.py to getopt.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/getpass.py to getpass.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gettext.py to gettext.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py to gzip.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py to hashlib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/heapq.py to heapq.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hmac.py to hmac.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py to httplib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py to inspect.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py to io.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/keyword.py to keyword.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py to linecache.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py to locale.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py to logging/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/logging
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py to mimetools.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetypes.py to mimetypes.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/opcode.py to opcode.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/optparse.py to optparse.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py to os.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pdb.py to pdb.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py to pickle.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/AE.py to Carbon/AE.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/Carbon
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Appearance.py to Carbon/Appearance.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/AppleEvents.py to Carbon/AppleEvents.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/CarbonEvents.py to Carbon/CarbonEvents.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/ControlAccessor.py to Carbon/ControlAccessor.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Controls.py to Carbon/Controls.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Ctl.py to Carbon/Ctl.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Dialogs.py to Carbon/Dialogs.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Dlg.py to Carbon/Dlg.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Dragconst.py to Carbon/Dragconst.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Events.py to Carbon/Events.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Evt.py to Carbon/Evt.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/File.py to Carbon/File.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Files.py to Carbon/Files.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Menu.py to Carbon/Menu.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Qd.py to Carbon/Qd.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/QuickDraw.py to Carbon/QuickDraw.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Res.py to Carbon/Res.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/TextEdit.py to Carbon/TextEdit.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Win.py to Carbon/Win.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/Windows.py to Carbon/Windows.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/Carbon/__init__.py to Carbon/__init__.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/EasyDialogs.py to EasyDialogs.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/aepack.py to aepack.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/aetools.py to aetools.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/aetypes.py to aetypes.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/applesingle.py to applesingle.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Containers_and_folders.py to Finder/Containers_and_folders.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/Finder
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Enumerations.py to Finder/Enumerations.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Files.py to Finder/Files.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py to Finder/Finder_Basics.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Finder_items.py to Finder/Finder_items.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Legacy_suite.py to Finder/Legacy_suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py to Finder/Standard_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Type_Definitions.py to Finder/Type_Definitions.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/Window_classes.py to Finder/Window_classes.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/Finder/__init__.py to Finder/__init__.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py to StdSuites/AppleScript_Suite.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/StdSuites
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Macintosh_Connectivity_Clas.py to StdSuites/Macintosh_Connectivity_Clas.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suite.py to StdSuites/QuickDraw_Graphics_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/QuickDraw_Graphics_Suppleme.py to StdSuites/QuickDraw_Graphics_Suppleme.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Required_Suite.py to StdSuites/Required_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py to StdSuites/Standard_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py to StdSuites/Table_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Text_Suite.py to StdSuites/Text_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/Type_Names_Suite.py to StdSuites/Type_Names_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/__init__.py to StdSuites/__init__.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/_builtinSuites/__init__.py to _builtinSuites/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/_builtinSuites
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py to _builtinSuites/builtin_Suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/macostools.py to macostools.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/macresource.py to macresource.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py to posixpath.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pprint.py to pprint.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/py_compile.py to py_compile.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/quopri.py to quopri.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py to random.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py to re.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/repr.py to repr.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/rfc822.py to rfc822.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py to shlex.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py to shutil.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py to socket.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre.py to sre.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_compile.py to sre_compile.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_constants.py to sre_constants.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_parse.py to sre_parse.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py to ssl.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/stat.py to stat.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/string.py to string.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/stringprep.py to stringprep.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/struct.py to struct.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py to subprocess.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tarfile.py to tarfile.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py to tempfile.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/textwrap.py to textwrap.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py to threading.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/token.py to token.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tokenize.py to tokenize.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py to traceback.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/types.py to types.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/__init__.py to unittest/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/unittest
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py to unittest/case.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py to unittest/loader.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py to unittest/main.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/result.py to unittest/result.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/runner.py to unittest/runner.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/signals.py to unittest/signals.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py to unittest/suite.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/util.py to unittest/util.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py to urllib.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py to urllib2.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urlparse.py to urlparse.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uu.py to uu.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/uuid.py to uuid.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/warnings.py to warnings.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py to weakref.pyc
byte-compiling /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py to zipfile.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/__init__.py to esky/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/esky
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/bootstrap.py to esky/bootstrap.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/errors.py to esky/errors.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/finder.py to esky/finder.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/fstransact/__init__.py to esky/fstransact/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/esky/fstransact
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/fstransact/fallback.py to esky/fstransact/fallback.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/fstransact/win32txf.py to esky/fstransact/win32txf.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/patch.py to esky/patch.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/slaveproc.py to esky/slaveproc.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/sudo/__init__.py to esky/sudo/__init__.pyc
creating /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/esky/sudo
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/sudo/sudo_base.py to esky/sudo/sudo_base.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/sudo/sudo_osx.py to esky/sudo/sudo_osx.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/sudo/sudo_unix.py to esky/sudo/sudo_unix.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/sudo/sudo_win32.py to esky/sudo/sudo_win32.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/util.py to esky/util.pyc
byte-compiling /usr/local/lib/python2.7/site-packages/esky-0.9.7-py2.7.egg/esky/winres.py to esky/winres.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/fetch_macholib -> /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/ctypes/macholib/fetch_macholib
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/fetch_macholib.bat -> /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/ctypes/macholib/fetch_macholib.bat
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/macholib/README.ctypes -> /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/ctypes/macholib/README.ctypes
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/distutils.cfg -> /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/distutils/distutils.cfg
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/README -> /Users/claas/Dropbox/Projects/tuto/build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/collect/distutils/README
*** creating application bundle: example-app ***
byte-compiling /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/site.py to site.pyc
copying /var/folders/mz/9fcy4dcx7gd_8537_0hr2n900000gn/T/tmpDCCfDy/scripts/hello.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/config
copying /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Makefile -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/config
copying /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Setup -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/config
copying /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Setup.local -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/config
copying /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Setup.config -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/config
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/include
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/include/python2.7
copying /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/include/python2.7
copying build/bdist.macosx-10.8-x86_64/python2.7-standalone/app/site-packages.zip -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/lib-dynload
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Frameworks
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/__init__.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/__init__.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/__init__.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/__init__.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/_parseaddr.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/_parseaddr.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/_parseaddr.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/_parseaddr.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/_parseaddr.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/_parseaddr.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/base64mime.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/base64mime.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/base64mime.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/base64mime.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/base64mime.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/base64mime.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/charset.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/charset.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/charset.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/charset.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/charset.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/charset.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/encoders.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/encoders.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/encoders.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/encoders.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/encoders.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/encoders.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/errors.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/errors.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/errors.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/errors.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/errors.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/errors.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/feedparser.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/feedparser.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/feedparser.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/feedparser.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/feedparser.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/feedparser.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/generator.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/generator.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/generator.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/generator.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/generator.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/generator.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/header.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/header.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/header.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/header.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/header.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/header.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/iterators.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/iterators.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/iterators.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/iterators.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/iterators.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/iterators.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/message.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/message.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/message.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/message.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/message.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/message.pyo
creating /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/__init__.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/__init__.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/__init__.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/__init__.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/__init__.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/__init__.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/application.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/application.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/application.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/application.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/application.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/application.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/audio.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/audio.py
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/audio.pyc -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/audio.pyc
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/audio.pyo -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/audio.pyo
copying file /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/email/mime/base.py -> /Users/claas/Dropbox/Projects/tuto/dist/example-app-0.1.macosx-10_8-x86_64/example-app-0.1.macosx-10_8-x86_64/example-app.app/Contents/Resources/lib/python2.7/email/mime/base.py
The code is currently here: https://github.com/Hoektronics/bumblebee
The two different logs are here: https://drive.google.com/folderview?id=0B8yScqjnZ_daM3REazBNcHdFZVk&usp=sharing
I ran both python setup.py sdist and python setup.py bdist_esky
I can't figure out why it's not working. I'd like it to call bumblebee.py when it starts up because my main.py file doesn't currently work.
I'm new to the whole setup stuff, so can someone explain what the difference between sdist and bdist_esky are? I'm using bbfreeze on the raspberry pi if that helps.
The reason I filed a bug report is because I think that it's not reading the MANAFEST.in file.
Hi,
I don't know if this is a real issue, but I'm stuck with it so I'm posting this one... sorry for this.
I'm using esky to freeze an app under linux and windows.
I found that current working folder (os.path.abspath(os.path.curdir)) is different from linux to windows...
For example:
This messes up all my data files (i.e. config.ini or logging.ini) when running the frozen application because:
Personally I like to have them under dist/ folder and replace/change them if needed after updated application started up.
How can I have the application looking for these files on the same folders in linux and windows?
I am using esky with cx_Freeze-4.2.3 on Mac OSX 10.6.6 and I have an issue with an application calling the get_platform
function from distutils.util
.
To reproduce this using the tutorial just add the following line to the examples script:
diff --git a/tutorial/stage1/example.py b/tutorial/stage1/example.py
index 9b4f112..0a7cffc 100644
--- a/tutorial/stage1/example.py
+++ b/tutorial/stage1/example.py
@@ -1,4 +1,5 @@
-
+from distutils.util import get_platform
+print (get_platform())
print ("HELLO WORLD")
The by building and running the example as usual, one get the following stacktrace:
$ rm -rf dist && python setup.py bdist_esky && (cd dist && unzip *.zip && cd example-app-0.1.macosx-10_6-universal && ./example)
[...]
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/cx_Freeze/initscripts/Console.py", line 27, in <module>
exec code in m.__dict__
File "/var/folders/VQ/VQbKi1w7F8KNUU4382MrrU+++TI/-Tmp-/tmpW879Pl/scripts/example.py", line 5, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/util.py", line 97, in get_platform
cfgvars = get_config_vars()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py", line 525, in get_config_vars
func()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/sysconfig.py", line 382, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /lib/python2.6/config/Makefile (No such file or directory)
Any idea why this is happening?
When trying to run the example code in the tutorials (specifically example 4) I can't start the application since it fails in the chainloading.
The issue appears to stem from the re.escape(...)
formatting done on the distribution.name value; the example has it as example-app
which is escaped into example\\-app
. When Python attempts to invoke execv(...)
to start the correct version of the application, it attempts to start example-app.app/example-app-0.4.8.macosx-10_3-fat/example\-app.app/Contents/MacOS/example
This command works when you do it from the terminal manually, however Python can't find the path, due to the escaped name.
You can test this yourself by opening the example-app.app/Contents/Resources/__boot__.py
file and editing the __esky_name__
value at the top to be "example-app"
(unescaped).
I don't know if this is an issue on other versions of Mac OS X, but when running 10.7 with Python 2.7.2 I get this error.
With py2app, two binaries are created, python and example. sys.executable returns the python binary, and execv'ing that simply starts the python interpreter.
I think a possible esky-aware fix is to make esky.util.appexe_from_executable return the other py2app binary if it detects it's on darwin and that binary exists.
I am using an application that was packaged with esky. It works okay if I run from the directory or using a full path
root@unknown:~# /opt/salt/bin/salt-call state.sls packages.ntp
But it breaks if i symlink the executable to, for example, /usr/bin
root@unknown:~# ls -l /usr/bin/salt-call
lrwxrwxrwx 1 root root 23 Apr 10 09:03 /usr/bin/salt-call -> /opt/salt/bin/salt-call
root@unknown:~# /usr/bin/salt-call state.sls packages.ntp
Traceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 685, in <module>
File "__main__.py", line 331, in bootstrap
RuntimeError: no usable frozen versions were found
DefaultVersionFinder fail to find dash included version scheme.
ex) v1.1-2-3
IMHO, omit escaping in regular expression.
version_re = "[a-zA-Z0-9\\.-_]+"
version_re = "[a-zA-Z0-9\\.\\-_]+"
Hi, I want do add all the files and folders of the current directory to my package but I can't figure out how to do that with esky.
Hope you can help me ..
I've tried the procedures recommended here to build the bootstrap module with PyPy, but failed to get it working with the 1.8 and 1.9 versions. I noticed the documentation says 1.5 and above, but that doesn't seem to be the case anymore.
Which is the last known version of PyPy to compile the bootstrap module successfully? Would there be any down-sides to using an older PyPy or is it best to port the bootstrap code so it compiles with more recent versions of PyPy?
Thanks!
When trying to build a simple test app (EskyExample) using Python3.3.3 and PyQt5 on OSX 10.9.3 (Mavericks) I get the following error when running "python3 setup.py bdist_esky":
error: can't copy 'dist/EskyExample-0.0.1.macosx-10_6-intel/EskyExample-0.0.1.macosx-10_6-intel/EskyExample.app/Contents/Resources/lib/python3.3/config': doesn't exist or not a regular file
When I look in the directory there is a sub-directory called "config3.3m" which I'm guessing is the required object but with a different name.
Have I got something misconfigured somewhere or is this a bug when using Python3.3?
I'm using esky 0.9.8 and py2app 0.9, both installed via easy_install.
I would appreciate any help or advice you can give, thanks.
When i run my setup everything works except that esky do not include fcntl to my .app (in the OSX version)
code:
import sys
from esky.bdist_esky import Executable
from distutils.core import setup
from glob import glob
subversion = 1
version = "1.0.%s"
data_files = ["myapp.ico"]
if sys.platform in ['win32', 'cygwin', 'win64']:
data_files = [("images", glob(r'.\images\*.*'))]
# We can customuse the executable's creation by passing an instance
# of Executable() instead of just the script name.
example = Executable("main.py",
# give our app the standard Python icon
icon="myapp.ico",
# we could make the app gui-only by setting this to True
gui_only=False,
# any other keyword args would be passed on to py2exe
)
setup(
data_files=data_files,
name="myapp",
version=version % subversion,
scripts=[example],
options={"bdist_esky": {
# forcibly include some other modules
"includes": [],
# forcibly exclude some other modules
"excludes": ["pydoc"],
# force esky to freeze the app using py2exe
"freezer_module": "py2exe",
# tweak the options used by py2exe
"freezer_options": {
"dll_excludes": ['MSVCP90.dll', 'w9xpopen.exe'],
'bundle_files': 1,
'compressed': True
},
}}
)
if sys.platform == 'darwin':
app = ['main.py']
example = Executable("main.py",
icon="myapp.ico",
)
options = {
"bdist_esky": {
# forcibly include some other modules
"includes": ['fcntl'],
# forcibly exclude some other modules
"excludes": ["pydoc"],
# force esky to freeze the app using py2app
"freezer_module": "py2app",
# tweak the options used by py2app
"freezer_options": {
"plist": {
'argv_emulation': True,
'packages': [],
}
},
}
}
setup(
app=app,
name="myapp",
version=version % subversion,
data_files=data_files,
options=options,
scripts=[example],
)
When i run program
File "dist/myapp.app/Contents/Resources/__boot__.py", line 68, in <module>
ImportError: No module named fcntl
esky ignores metadata from setup, like long_description, description, author etc.
Hi,
Just wanted to pop a quick note on running the tutorial on Mac OS X (stage1 onwards).
There is a problem with running the apps as they are named "example-app" and you get in your boot.py:
__esky_name__ = 'example\-app'
It's because of the (in f_py2app.py):
esky_name = re.escape(dist.distribution.get_name())
And it gets escaped as:
>>> import re
>>> re.escape("example-app")
'example\\-app'
I just changed the name form "example-app" to "exampleapp" and it works now.
Best regards
Aleksandar
So far the examples I see are for only a single py script. I have a app like:
main.py
settings.py
data.py
When I run the exe, it complain that settings (imported from main) don't exist. What I need to do?
setup(name="App",
version="1.2.3",
#package_data=recursive_glob(pattern='*.py'),?? Is this?
scripts=[os.path.join('..','main.py')],
options={"bdist_esky":{"includes":[]}},
)
If the URL specified in
app = esky.Esky(sys.executable,"http://example.com/downloads/")
returns an auto index page with relative urls, app.auto_update() can't retrieve the update packages.
For example, if http://example.com/downloads/ returns an auto index generated page and the links to the update files are something like href="myapp-1.0.0.win32.zip" instead of href="http://example.com/downloads/myapp-1.0.0.win32.zip" then it can't be updated.
I've found that FSTransaction doesn't work properly on Windows 7 (and Vista may be) with unicode folder names. E.g. cleanup doesn't work.
The patch to approve is https://gist.github.com/2004082
Hi, first of all, I want to say what an awesome piece of software esky is.
I can't wait to put it into my application!
The reason I can't put it in my application is because I can't make esky's tutorials run on my mac.
Sadly I don't know enough of the packaging systems(setuptools, osx apps) to fix this myself. I'm wondering if anyone could help me along, any help is much appreciated.
I've got esky==0.9.7 installed(through pip)
Ok, so, the problem I have is the following after executing cd tutorial/stage2 && python setup.py bdist_esky
copying dist/example-app-0.2.macosx-10_8-x86_64/example-app-0.2.macosx-10_8-x86_64/example-app.app/Contents/Resources/__boot__.py -> dist/example-app-0.2.macosx-10_8-x86_64/Contents/Resources
error: can't copy 'dist/example-app-0.2.macosx-10_8-x86_64/example-app-0.2.macosx-10_8-x86_64/example-app.app/Contents/Resources/site.py': doesn't exist or not a regular file
Same goes if I change the app name to exampleapp(without the dash)
copying dist/exampleapp-0.2.macosx-10_8-x86_64/exampleapp-0.2.macosx-10_8-x86_64/exampleapp.app/Contents/Resources/__boot__.py -> dist/exampleapp-0.2.macosx-10_8-x86_64/Contents/Resources
error: can't copy 'dist/exampleapp-0.2.macosx-10_8-x86_64/exampleapp-0.2.macosx-10_8-x86_64/exampleapp.app/Contents/Resources/site.py': doesn't exist or not a regular file
I'm pretty much stuck on fixing this. Same goes for my own app(can't find site.py).
I'm guessing this is why I can't see the final result of the esky build. Maybe also a mac tutorial would be nice, I'd love to help out and do a step-by-step guide.
Is there a correct way to not to bundle msvcrt and python dlls twice (first one in bootstrap dir and second in version dir) into windows distribution?
I mean such a layout inside .zip:
./app-0.1.win32/Microsoft.VC90.CRT/<dlls+manifest>
./app-0.1.win32/python32.dll
./app-0.1.win32/<app files>
./Microsoft.VC90.CRT/<dlls+manifest>
./python32.dll
./app.exe
I suppose it's by design, but could you advise a workaround? E.g. copy dlls to selected version dir in bootstrap module or maybe some better alternatives?
(I use python 3.2 and cx_freeze)
Anyway, really thanks for esky, excellent work!
Flag gui_only isn't work with compile_bootstrap_exes and pypy-1.6.x - pypy-1.9x on Windows.
Used example script (see below)
Created exe file and zip file; however, created file does not work. Gives error message
import sys
from esky import bdist_esky
import py2exe
from esky.bdist_esky import Executable
from distutils.core import setup
sys.argv.append('bdist_esky')
# for windows
# > python setup.py bdist_esky
if sys.platform in ['win32','cygwin','win64']:
# Use bdist_esky instead of py2exe
setup(
name = "example-app",
version = "0.1",
# All executables are listed in the "scripts" argument
scripts = ["example.py"],
options = {"bdist_esky": {
"freezer_module":"py2exe"
}
}
)
# for mac
# > python setup.py bdist_esky
elif sys.platform == 'darwin':
setup(
name = "example-app",
version = "0.1",
scripts = ["example.py"],
options = {"bdist_esky": {
"freezer_module":"py2app"
}}
)
Just a note to myself about this. There are no known flaws but I have some ideas about tightening it up even further, by having to mark the classes themselves with allow_from_sudo.
I've come acrosse issue #6 and found out I used an older version on my Windows setup.
I somehow was building my app on Windows with 0.9.5 and found out to late. Now I assume users who are using the Couchpotato 2.0.1 ( which is build with 0.9.5 ) aren't able to upgrade automatically, but need to do it manually?
My updater points to http://couchpota.to/updates/ which then points to files on https://github.com/RuudBurger/CouchPotatoServer/downloads. As you can see, the window update is bugged, with a few hundred requests per second. Even if I remove the update from http://couchpota.to/updates/ the requests continue. Is the url cached somewhere, because every connected client should not be able to find the updates anymore..
Do you know a fix I can maybe implement on the server (returning 404 or whatever) that stop the updater.
When trying to use bdist_esky on windows, it seems to fail to find libzmq.dll (when using the pyzmq library). I get the following error:
*** finding dlls needed ***
error: libzmq.dll: No such file or directory
I was also have this problem with py2exe (so it appears that the problem might actually be related to py2exe), so I had to add the "dll_excludes" in the options['py2exe'] dict, which, seemingly, should have caused it to work in esky also (given the examples provided in github). I then include that dll in the data_files argument. Something like the following is what my call to setup looks like:
setup(name="tigger",
version="0.1.1",
packages = find_packages(),
scripts=['tigger.py', 'tigger_service.py', 'tigger_master.py'], #for esky
# console=['tigger.py', 'tigger_service.py', 'tigger_master.py'], #for py2exe
options={"bdist_esky":{
}, "py2exe": {
"dll_excludes": ['libzmq.dll'],
"includes": ['zmq.utils.strtypes',
'zmq.utils.jsonapi']
}
},
install_requires = [
'wmi>=1.4.9',
'pyzmq>=2.1.11',
'pyyaml>=3.09',
],
data_files = [
('', ('C:\\Python27\\Lib\\site-packages\\zmq\\libzmq.dll', ))
],
)
If I have the console line above, and use py2exe, everything works fine. But as configured above, and with bdist_esky, I'm still getting the error about not being able to find libzmq.dll.
REPRO STEPS:
RESULTS:
*** finding dlls needed ***
error: libzmq.dll: No such file or directory
EXPECTED RESULTS:
Fully built esky bdist package.
Hi,
Really cool auto update framework! I have a python project that is frozen using py2app for mac and pyinstaller for windows:
Does esky support Pyinstaller? If not, is it hard to extend it it to support Pyinstaller? I am not familiar with pyinstaller so if you can point me to any resources on how I could look into extending it, that would be awesome.
The biggest reason we chose pyinstaller over py2exe is because of lack of code signing support in py2exe. Esky would be easier choice if there was another easy way to make a py2exe executable code signed but I am not aware of it. If you are aware of how I could make this work, some pointers there would be appreciated.
Thanks!
I'm getting the following error when i try to execute an app frozen with esky.
Traceback (most recent call last):
File "/Users/Dale/Desktop/esky-master/tutorial/stage4/dist/example-app.app/example-app-0.4.8.macosx-10_6-intel/example-app.app/Contents/Resources/__boot__.py", line 45, in <module>
_run(scriptnm + ".py")
TypeError: _run() takes no arguments (1 given)
it worked before, but than i had to upgrade multiple packages. Any Idea?
FIXED:
As codewarrior0 poited out here I had to delete the _EXE_PRESCRIPT_CODE and it works fine.
I'm trying to freeze salt, but it keeps failing trying to use __file__
at the command line. This worked a few weeks ago but I can't for the life of me figure out what's different:
$ python setup.py bdist_esky
0.15.1
running bdist_esky
WARNING: found xml.parsers in multiple directories. Assuming it's a namespace package. (found in /usr/lib64/python2.6/site-packages/_xmlplus/parsers, /usr/lib64/python2.6/xml/parsers)
WARNING: found salt in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt, /usr/lib64/python2.6/site-packages/salt)
WARNING: found salt.utils in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/utils, /usr/lib64/python2.6/site-packages/salt/utils)
WARNING: found salt.pillar in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/pillar, /usr/lib64/python2.6/site-packages/salt/pillar)
WARNING: found salt.cli in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/cli, /usr/lib64/python2.6/site-packages/salt/cli)
WARNING: found salt.output in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/output, /usr/lib64/python2.6/site-packages/salt/output)
WARNING: found salt.auth in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/auth, /usr/lib64/python2.6/site-packages/salt/auth)
WARNING: found salt.wheel in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/wheel, /usr/lib64/python2.6/site-packages/salt/wheel)
WARNING: found salt.search in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/search, /usr/lib64/python2.6/site-packages/salt/search)
WARNING: found salt.fileserver in multiple directories. Assuming it's a namespace package. (found in /home/hank/salt/salt/fileserver, /usr/lib64/python2.6/site-packages/salt/fileserver)
\*** applied <function recipe_cElementTree25 at 0x7f95dd4619b0>
codehack: replaced get_platform in /usr/lib64/python2.6/distutils/util.py
*** applied <function recipe_distutils_util_get_platform at 0x7f95dd4617d0>
*** applied <function recipe_doctest at 0x7f95dd461410>
*** applied <function recipe_time at 0x7f95dd461758>
*** applied <function recipe_urllib at 0x7f95dd461578>
*** applied <function recipe_ctypes_macholib at 0x7f95dd461398>
*** applied <function recipe_xmlrpclib at 0x7f95dd461320>
adding pyzmq 13.1.0 as a dependency of salt 0.15.1
adding PyYAML 3.10 as a dependency of salt 0.15.1
adding pycrypto 2.6 as a dependency of salt 0.15.1
adding msgpack-python 0.3.0 as a dependency of salt 0.15.1
adding M2Crypto 0.21.1 as a dependency of salt 0.15.1
adding Jinja2 2.7 as a dependency of salt 0.15.1
adding MarkupSafe 0.17 as a dependency of salt 0.15.1
==================================================
The following eggs are being used:
Jinja2 2.7 (/usr/lib64/python2.6/site-packages)
M2Crypto 0.21.1 (/usr/lib64/python2.6/site-packages)
MarkupSafe 0.17 (/usr/lib64/python2.6/site-packages)
PyYAML 3.10 (/usr/lib64/python2.6/site-packages)
msgpack-python 0.3.0 (/usr/lib64/python2.6/site-packages)
pycrypto 2.6 (/usr/lib64/python2.6/site-packages)
pyzmq 13.1.0 (/usr/lib64/python2.6/site-packages)
salt 0.15.1 (/home/hank/salt)
==================================================
Copying egg-info of msgpack-python 0.3.0 from '/usr/lib64/python2.6/site-packages/msgpack_python-0.3.0-py2.6.egg-info'
Copying egg-info of PyYAML 3.10 from '/usr/lib64/python2.6/site-packages/PyYAML-3.10-py2.6.egg-info'
Copying egg-info of pyzmq 13.1.0 from '/usr/lib64/python2.6/site-packages/pyzmq-13.1.0-py2.6.egg-info'
Copying egg-info of Jinja2 2.7 from '/usr/lib64/python2.6/site-packages/Jinja2-2.7-py2.6.egg-info'
Copying egg-info of pycrypto 2.6 from '/usr/lib64/python2.6/site-packages/pycrypto-2.6-py2.6.egg-info'
Copying egg-info of MarkupSafe 0.17 from '/usr/lib64/python2.6/site-packages/MarkupSafe-0.17-py2.6.egg-info'
/home/hank/salt looks like a development egg. need to run setup.py bdist_egg
running '/usr/bin/python2.6 -c import sys,__main__,setuptools; del sys.argv[0]; __main__.__file__=sys.argv[0], execfile(sys.argv[0],__main__.__dict__,__main__.__dict__) setup.py -q bdist_egg --dist /tmp/tmpLbdTHH' in '/home/hank/salt'
/usr/bin/python2.6 -c import sys,__main__,setuptools; del sys.argv[0]; __main__.__file__=sys.argv[0], execfile(sys.argv[0],__main__.__dict__,__main__.__dict__) setup.py -q bdist_egg --dist /tmp/tmpLbdTHH
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 57, in <module>
os.path.dirname(__file__)), 'salt', 'version.py')
NameError: name '__file__' is not defined
error: command '/usr/bin/python2.6' failed with exit status 1
An application I built using Esky under 64 bit Windows 7 raises the error " Unable to Locate Component - This application has failed to start because MSVCR90.dll was not found" when I run it using Windows XP. The VC90 files are there in Microsoft.VC90.CRT folders both at the upper application level and within appdata. They are dated 31 Dec 2011. Rebuilding the application in XP itself produces the same error, although now the dlls are dated 7 November 2007.
If I start the application using appdata\appname-version.win32\app.exe it runs OK. This is fine as a temporary work around but the path to it is version dependent. I am probably doing something wrong in the setup.py that builds it - any pointers as to what that might be?
Regards, David
The built executable for my application runs successfully; however, the bootstrap executable fails to launch with the following
"unable to locate initialization module"
I'm using cx_Freeze for compatibility with Python 3. My setup.py follows:
from esky.bdist_esky import Executable
from distutils.core import setup
exe = Executable("thinX.py",
icon = "logo.ico",
gui_only = True,
)
project_files = ["AUTHORS.md", "LICENSE.md", "README.md", "TODO.md",
"units.ini"]
setup(
name = "thinX",
version = "0.2.0",
description="GUI with various utilities for manipulating XBRL files.",
author="Austin M. Matherne",
author_email="[email protected]",
scripts = [exe],
data_files = project_files,
options = {"bdist_esky":{
"includes": [],
"excludes": [],
"freezer_module": "cxfreeze",}
},
)
There are some places in sudo_*.py and init.py where conversions between str and bytes for python 3 are missed. This leads to errors on cleanup sometime:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "c:\python32\lib\subprocess.py", line 741, in init
restore_signals, start_new_session)
File "c:\python32\lib\subprocess.py", line 919, in _execute_child
args = list2cmdline(args)
File "c:\python32\lib\subprocess.py", line 561, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError
Type str doesn't support the buffer API
So the patch fixes the issue may looks like this: https://gist.github.com/1993286
(I use custom py3k fork of esky outside of github, so I can't provide you with pull request yet. But I'll try to publish the fork asap.)
Hi guys, I get a error message on Windows and can't figure out how to solve this:
I already tried to restart the computer but nothing changed. I also get the same error with cxfreeze ...
My setup.py code:
example = Executable("gui_starter.py",
gui_only=False,
)
setup(
data_files=data_files,
name = "Voc2brain",
version = "4.4.%d" % subversion,
scripts = [example],
options = {"bdist_esky":{
# forcibly include some other modules
"includes": ["sip", "lxml"],
# forcibly exclude some other modules
"excludes": ["pydoc"],
# force esky to freeze the app using py2exe
"freezer_module": "py2exe",
# tweak the options used by py2exe
"freezer_options": {"bundle_files":3,"compressed":True},
}}
)
(Remember that this works for OSX so it isn't a link problem or anything.)
I have a problem with the updater where it finds the highest new version but does not add the href to self._links
.
Using the auto_update
with a callback. https://github.com/RuudBurger/CouchPotatoServer/blob/desktop/couchpotato/core/_base/updater/main.py#L404
When links are added via VersionGraph.add_link
, it only adds an empty dict.
Example html with 1 version in the download_url:
CouchPotato-2.0.1.1.macosx-10_6-intel.zip
CouchPotato-2.0.1.1.win32.installer.exe
CouchPotato-2.0.1.1.win32.zip
self._links returns:
{
'': {
u '2.0.1.1': {}
},
u '2.0.1.1': {}
}
Example html with 2 versions in the download_url:
CouchPotato-2.0.2.macosx-10_6-intel.zip
CouchPotato-2.0.2.win32.installer.exe
CouchPotato-2.0.2.win32.zip
CouchPotato-2.0.1.1.macosx-10_6-intel.zip
CouchPotato-2.0.1.1.win32.installer.exe
CouchPotato-2.0.1.1.win32.zip
self._links returns:
{
'': {
u '2.0.1.1': {
u 'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.1.1.win32.zip': 40
},
u '2.0.2': {}
},
u '2.0.1.1': {},
u '2.0.2': {}
}
Example html with 3 versions in the download_url:
CouchPotato-2.0.3.macosx-10_6-intel.zip
CouchPotato-2.0.3.win32.installer.exe
CouchPotato-2.0.3.win32.zip
CouchPotato-2.0.2.macosx-10_6-intel.zip
CouchPotato-2.0.2.win32.installer.exe
CouchPotato-2.0.2.win32.zip
CouchPotato-2.0.1.1.macosx-10_6-intel.zip
CouchPotato-2.0.1.1.win32.installer.exe
CouchPotato-2.0.1.1.win32.zip
self._links returns:
{
'': {
u '2.0.1.1': {
u 'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.1.1.win32.zip': 40
},
u '2.0.3': {},
u '2.0.2': {
u 'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.2.win32.zip': 40
}
},
u '2.0.1.1': {},
u '2.0.3': {},
u '2.0.2': {}
}
Now as you can see, it keeps ignoring the highest version. Resulting in an always failing update.
It will thus always fire:
if path is None:
raise EskyVersionError(version)
Seems like something is handled differently on Windows, as some test data (appending all the hrefs to a list):
[u'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.3.win32.zip', u'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.2.win32.zip', u'https://github.com/downloads/RuudBurger/CouchPotatoServer/CouchPotato-2.0.1.1.win32.zip']
Could you please help me out with this, been trying to resolve this all day, but haven't found a solution..
I've been unable to get a service build with esky working using cx_Freeze. I tried the normally recommended method of extending win32serviceutil.ServiceFramework
, but the binary immediately fails with a timeout error. There is a also the Win32Service
base built into cx_Freeze which has its own way of doing Windows services; however, I found a few problems with this.
None
or Win32GUI
.cx_Freeze__init__
script ended up with an invalid sys module that surfaced by throwing an error about not having the attribute argv.For the second problem, setting dont_run_startup_hooks
to true seems to partially resolve the problem. I still couldn't run the base executable, but I was able to install and start the version-specific exe as a service.
I ended up working around this by splitting my code into two executables - the code that runs as a service is frozen directly by cx_Freeze and spawns a subprocess for the rest of the esky-frozen executable. Obviously this means that the service isn't automatically updated, though.
Here is the error I get when I run auto_update:
Traceback (most recent call last):
File "__main__.py", line 838, in <module>
File "__main__.py", line 331, in bootstrap
File "__main__.py", line 358, in chainload
File "__main__.py", line 834, in _chainload
File "peekmonitor_osaka.py", line 49, in <module>
File "esky\__init__.pyc", line 471, in cleanup
File "esky\__init__.pyc", line 516, in _cleanup_actions
File "esky\__init__.pyc", line 465, in cleanup
File "esky\__init__.pyc", line 882, in install_version
File "esky\__init__.pyc", line 914, in _unpack_bootstrap_env
File "esky\fstransact\win32txf.pyc", line 109, in move
File "esky\fstransact\win32txf.pyc", line 118, in _move
File "esky\fstransact\win32txf.pyc", line 24, in wrapper
WindowsError: [Error 6805] The remote server or share does not support transacted file operations.
On the server I see that the update is requested twice.
weapon101s.ds.com - - [23/May/2013 10:47:25] "GET / HTTP/1.1" 200 -
weapon101s.ds.com - - [23/May/2013 10:47:26] "GET / HTTP/1.1" 200 -
weapon101s.ds.com - - [23/May/2013 10:47:26] "GET /hifg-1.1.1.win32.zip HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:48:08] "GET /hifg-1.1.1.win32.zip HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:49:06] "GET / HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:49:06] "GET / HTTP/1.1" 200 -
this is probably a network issue since the problem does not occur on the local network but only when update from a remote site. Any ideas on how to solve this?
-Kenneth
Try to bundle folder in setup.py like:
setup( name = "MyTest",
scripts = APP,
version = version.__version__,
data_files = ['migrations'],
options = dict(bdist_esky=ESKY_OPTIONS),
)
You will get following error message:
error: can't copy 'migrations': doesn't exist or not a regular file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.