py2exe (or other exe builder) on Vista system for Vista/XP install targets.

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sat Nov 3 07:29:58 EDT 2007


Michael wrote:

> Björn, what library files end up being in your dist directory for
> that project? Would you mind posting a copy of the output of dir?

Okay, sorry for the delay. Here the output of py2exe is, for
directory contents see below.

| The following modules appear to be missing 
| ['FCNTL', 'OpenSSL', 'email.Generator', 'email.Iterators', 
| 'email.Utils', 'pywintypes', 'resource', 'win32api', 'win32con',
| 'win32event', 'win32file', 'win32pipe', 'win32process', 
| 'win32security', 'wx.Timer']  
|
| *** binary dependencies *** 
| Your executable(s) also depend on these dlls which are not
| included, you may or may not need to distribute them. 
| 
| Make sure you have the license if you distribute any of them, and 
| make sure you don't distribute files belonging to the operating 
| system.  
| 
|   OLEAUT32.dll - C:\windows\system32\OLEAUT32.dll 
|   USER32.dll - C:\windows\system32\USER32.dll 
|   SHELL32.dll - C:\windows\system32\SHELL32.dll 
|   ole32.dll - C:\windows\system32\ole32.dll 
|   comdlg32.dll - C:\windows\system32\comdlg32.dll 
|   WSOCK32.dll - C:\windows\system32\WSOCK32.dll 
|   COMCTL32.dll - C:\windows\system32\COMCTL32.dll 
|   ADVAPI32.dll - C:\windows\system32\ADVAPI32.dll 
|   GDI32.dll - C:\windows\system32\GDI32.dll 
|   WS2_32.dll - C:\windows\system32\WS2_32.dll 
|   MSVCP71.dll - C:\Program Files\Python25\lib\site-packages\
|   wx-2.8-msw-unicode\wx\MSVCP71.dll 
|   WINMM.dll - C:\windows\system32\WINMM.dll 
|   KERNEL32.dll - C:\windows\system32\KERNEL32.dll 
|   gdiplus.dll - C:\Program Files\Python25\lib\site-packages\
|   wx-2.8-msw-unicode\wx\gdiplus.dll 
|   RPCRT4.dll - C:\windows\system32\RPCRT4.dll 

Output of dir in the dist directory follows:
 
| 01.11.2007  20:51    <DIR>          . 
| 01.11.2007  20:51    <DIR>          .. 
| 18.04.2007  07:51            77.824 bz2.pyd 
| 01.11.2007  20:51         4.874.503 library.zip 
| 29.06.2007  20:19           348.160 MSVCR71.dll 
| 18.04.2007  07:51           135.168 pyexpat.pyd 
| 18.04.2007  07:51         2.113.536 python25.dll 
| 18.04.2007  07:51             7.680 select.pyd 
| 18.04.2007  07:51           475.136 unicodedata.pyd 
| 18.04.2007  07:51             4.608 w9xpopen.exe 
| 07.08.2007  20:47           135.168 wxbase28uh_net_vc.dll 
| 07.08.2007  20:47         1.327.104 wxbase28uh_vc.dll 
| 07.08.2007  20:50           708.608 wxmsw28uh_adv_vc.dll 
| 07.08.2007  20:50         3.158.016 wxmsw28uh_core_vc.dll 
| 07.08.2007  20:51           479.232 wxmsw28uh_html_vc.dll 
| 07.08.2007  21:12           909.312 _controls_.pyd 
| 07.08.2007  21:09           950.272 _core_.pyd 
| 07.08.2007  21:11           716.800 _gdi_.pyd 
| 18.04.2007  07:52           323.584 _hashlib.pyd 
| 07.08.2007  21:14           659.456 _misc_.pyd 
| 18.04.2007  07:52            53.248 _socket.pyd 
| 18.04.2007  07:52           655.360 _ssl.pyd 
| 07.08.2007  21:11           647.168 _windows_.pyd 
| 08.01.2007  15:49             9.216 _zope_interface_
| coptimizations.pyd 

(my files, an exe and a data file, snipped)

Regards & HTH,


Björn

-- 
BOFH excuse #417:

Computer room being moved.  Our systems are down for the weekend.




More information about the Python-list mailing list