Help with Gordon McMillan Installer

Matthias Janes matthias_j at lycos.com
Sat Feb 9 20:52:04 CET 2002


Maybe there is anyone out there to help me in a small problem with the
Installer.

I would like to create a onefile exe but I can't figure out how to
write the right Makespec.file.

I have a single python file (call it /MyApp.py) which also accesses a
data file in d subfolder Data (call it /Data/Data.cfg)

When ever I make a Spec file :python ../Installer/Makespec.py
--onefile MyApp.py

It creats this Spec File:

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,
          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.

One help would be appriciated.

Thanks
Matthias



More information about the Python-list mailing list