Apparently quite a lot gets left out of the onefile build, as the package it 
creates is 33 MB, while the folder created by onefile mode is 89 MB.

Begin forwarded message:

> From: Lynn Oliver <[email protected]>
> Subject: Re: [PyInstaller] Is this beyond the scope of pyinstaller?
> Date: April 2, 2012 4:03:02 PM PDT
> To: [email protected]
> 
> Hi Martin,
> 
> I rewrote my program to remove dependencies on SciKits.audiolab and 
> SciKits.samplerate.  If I run pyinstaller on that version in onedir mode, it 
> actually builds and runs.  Major progress, thanks! ( I do still have to 
> change hook-_tkinter.py to insert the correct paths for Tcl/Tk.)
> 
> If I build in onefile mode, I get the following runtime error:
> 
> ImportError: 
> dlopen(/var/folders/qq/h5gj3f3s0rx41lhd7h0lt2hm0000gn/T/_MEIyI7ve3/_tkinter.so,
>  2): Library not loaded: @executable_path/Tcl
>  Referenced from: 
> /var/folders/qq/h5gj3f3s0rx41lhd7h0lt2hm0000gn/T/_MEIyI7ve3/_tkinter.so
>  Reason: image not found 
> 
> What can cause it to fail in onefile mode but not onedir mode?
> 
> 
> On Apr 2, 2012, at 3:08 PM, Martin Zibricky wrote:
> 
>> Hi Lynn,
>> 
>> please try it again. It should be now fixed.
>> 
>> Lynn Oliver píše v So 31. 03. 2012 v 20:21 -0700:
>>> No complaints from the build, but when I run the executable I get: 
>>> 
>>>       File
>>>       
>>> "/Users/lynn/Documents/python/axeomatic2/pyinstaller/testbuild/build/pyi.darwin/testbuild/out03-PYZ.pyz/distutils.sysconfig",
>>>  line 370, in _init_posix
>>>       distutils.errors.DistutilsPlatformError: invalid Python
>>>       installation: unable to
>>>       open 
>>> /Users/lynn/Documents/python/axeomatic2/pyinstaller/testbuild/dist/testbuild/lib/python2.7/config/Makefile
>>>  (No such file or directory)
>>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "PyInstaller" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/pyinstaller?hl=en.
>> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to