Help with Gordon McMillan Installer
Gordon McMillan
gmcm at hypernet.com
Sun Feb 10 10:11:11 EST 2002
Matthias Janes wrote:
[snip]
> I would like to create a onefile exe but I can't figure out how to
> write the right Makespec.file.
[snip]
> a = Analysis(['C:\\_Matthias\\_APPS\\Installer\\support\\useUnicode.py',
> 'C:\\_Matthias\\_APPS\\TEST3\\MyApp.py'],
> pathex=[])
> pyz = PYZ(a.pure)
> exe = EXE( pyz,
> a.scripts,
> a.binaries,
[('MyData.cfg', 'c:/_Matthias/_APPS/TEST3/Data.cfg', 'BINARY')],
> name='MyApp.exe',
> debug=0,
> console=1)
>
>
> I tried different ways to add the Data.cfg file but this is never
> included in the ONEFILE.EXE instead it is copied extra in a folder.
Inline above. As BINARY, it will be extracted on each run. Of course,
that makes it effectively read-only.
-- Gordon
http://www.mcmillan-inc.com/
More information about the Python-list
mailing list