Hi yamato, You seems to use python26 under windows 7? This is not directly supported in pyinstaller trunk. To make python26 work, install up to date pyinstaller svn trunk + patch you will find in ticket 39. http://www.pyinstaller.org/ticket/39
I usually use 2 .bat script to make .exe: init.bat: ################################################### echo off set name=Myapp set directory=.\Myapp_onedir set name set directory if exist %directory% goto run_script mkdir %directory% :run_script echo Configuring pyinstaller... python -O ..\external_apps\pyinstaller\Configure.py echo Config done echo Warning! Continuing will erase previous .spec file! echo Excluded file will be lost, save your old .spec file first! or push ctrl+C pause echo Making .spec file... python -O ..\external_apps\pyinstaller\Makespec.py ..\%name%.py --manifest msvc90dep.manifest --onedir --ascii --console --icon=..\ressources\my.ico --out=%directory% --name=%name% echo Done. Launch build script now. pause build.bat: ################################################### echo off set name=Myapp set directory=.\Myapp_onedir set name set directory if exist %directory% goto run_script mkdir %directory% :run_script echo Building distribution file... python -O ..\external_apps\pyinstaller\Build.py %directory%\%name%.spec echo Done. Launch 'finish' script. pause The important point is --manifest msvc90dep.manifest I've attached it to this mail. Cheers, Laurent 2010/1/13 yamamoto <[email protected]> > Hi, > > I installed PyInstaller and ran Configure.py yesterday but it didnt > work.. > > OS: Windows7 32bit > > I: computing EXE_dependencies > I: Finding TCL/TK... > I: found TCL/TK version 8.5 > I: testing for Zlib... > I: ... Zlib available > I: Testing for ability to set icons, version resources... > Traceback (most recent call last): > File "C:\Python26\pyinstaller13\Configure.py", line 149, in <module> > shutil.copyfile( test_exe, rw_test_exe ) > File "C:\Python26\lib\shutil.py", line 53, in copyfile > fdst = open(dst, 'wb') > IOError: [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\falcon > \\AppData > \\Local\\Temp; c:\\Program Files\\Java\\jdk1.6.0_17\\bin\ > \me_test_exe.tmp' > > Any suggestion? > > -- > 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]<pyinstaller%[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.
msvc90dep.manifest
Description: Binary data
