I gave this another try, and it turned out that I needed to use double 
backslashes.  It works now, so all that remains is identifying the complete 
list of files to include for all cases.
          a.binaries + [('aomDSP.ico', '..\\aom2-remote\\aomDSP.ico', 'DATA'),
                        ('mk2_avx.dll', r'C:\\Python27\\Scripts\\mk2_avx.dll', 
'BINARY'),
                        ('mk2_def.dll', r'C:\\Python27\\Scripts\\mk2_def.dll', 
'BINARY'),
                        ('mk2_mc.dll',  r'C:\\Python27\\Scripts\\mk2_mc.dll',  
'BINARY'),
                        ('mk2_mc3.dll', r'C:\\Python27\\Scripts\\mk2_mc3.dll', 
'BINARY')],

Thanks...

On Sep 25, 2012, at 9:59 PM, Andrea Gavana <[email protected]> wrote:

> 
> I had the same issues with one of my applications, and I ended up
> forcing PyInstaller (and py2exe as well) to include those libraries
> like this:
> 
> coll = COLLECT(exe,
>               a.binaries - [('UxTheme.dll',
> r'C:\Windows\System32\uxtheme.dll', 'BINARY'), ('uxtheme.dll',
> r'C:\Windows\System32\uxtheme.dll', 'BINARY'),  \
>                             ('tcl85.dll'  ,
> r'C:\Python27\DLLs\tcl85.dll'     , 'BINARY'), ('tk85.dll'   ,
> r'C:\Python27\DLLs\tk85.dll'      , 'BINARY')]  \
>                          + [('mk2_def.dll',
> r'C:\Python27\Scripts\mk2_def.dll', 'BINARY'), ('mk2_mc3.dll',
> r'C:\Python27\Scripts\mk2_mc3.dll', 'BINARY')],
>               a.zipfiles,
>               a.datas,
>               strip=False,
>               upx=True,
>               name=os.path.join('dist', 'MyApp'))
> 
> 
> You may need to extend that list to include more mk2_* DLL files,
> although I found PyInstaller a bit cumbersome in the process...
> 
> Andrea.
> 
> "Imagination Is The Only Weapon In The War Against Reality."
> http://xoomer.alice.it/infinity77/
> 
> # ------------------------------------------------------------- #
> def ask_mailing_list_support(email):
> 
>    if mention_platform_and_version() and include_sample_app():
>        send_message(email)
>    else:
>        install_malware()
>        erase_hard_drives()
> # ------------------------------------------------------------- #
> 
> -- 
> 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