Changeset 2287


Ignore:
Timestamp:
10/19/11 21:03:59 (7 months ago)
Author:
dart
Message:

Update generation. Packaging seems ok but LotATC crash at startup.

Location:
trunk/tools/pyinstaller_script
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/pyinstaller_script/dist/lotatc/lotatc_client_win.spec

    r2285 r2287  
    1 a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), '../lotatc_client.py'], 
     1a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(CONFIGDIR,'support\\useUnicode.py'), '../lotatc_client.py'], 
    22             pathex=[ 
     3                         '../pyinstaller/', 
    34             '../common/', 
    45             '../common/misabstractlayer/', 
     
    6162                lotatc_datas.append(('i18n/'+f,'../i18n/'+f,'DATA')) 
    6263 
     64# pyz = PYZ(a.pure) 
     65# exe = EXE(pyz, 
     66          # a.scripts  + [('O','','OPTION')], 
     67          # exclude_binaries=1, 
     68          # name=os.path.join('build\\pyi.win32\\lotatc_client', 'lotatc_client.exe'), 
     69          # debug=False, 
     70          # strip=True, 
     71          # icon='../lotatc_client/resources/lotatc_icon_mini.ico', 
     72          # upx=True, 
     73          # console=False)#, manifest=os.path.abspath(os.path.join( '..', 'tools', 'pyinstaller_script','msvc90dep.manifest' ) ) ) 
     74# coll = COLLECT( exe, 
     75               # a.binaries, 
     76               # a.zipfiles, 
     77               # a.datas, 
     78               #lotatc_datas, 
     79               # strip=False, 
     80               # upx=True, 
     81               # name='lotatc_client/lotatc_client') 
     82# a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(CONFIGDIR,'support\\useUnicode.py'), 'H:/dev/lotatc/trunk/lotatc_client.py'], 
     83             # pathex=['H:\\dev\\lotatc\\trunk\\pyinstaller']) 
    6384pyz = PYZ(a.pure) 
    6485exe = EXE(pyz, 
    65           a.scripts  + [('O','','OPTION')], 
     86          a.scripts, 
    6687          exclude_binaries=1, 
    67           name='buildlotatc_client_win/lotatc_client.exe', 
    68           debug=False, 
    69           strip=True, 
     88          name=os.path.join('build\\pyi.win32\\lotatc_client', 'lotatc_client.exe'), 
     89          debug=True, 
     90          strip=None, 
     91          upx=True, 
    7092          icon='../lotatc_client/resources/lotatc_icon_mini.ico', 
    71           upx=True, 
    72           console=False, manifest=os.path.abspath(os.path.join( '..', 'tools', 'pyinstaller_script','msvc90dep.manifest' ) ) ) 
     93          console=True ) 
    7394coll = COLLECT( exe, 
    7495               a.binaries, 
    7596               a.zipfiles, 
    7697               a.datas, 
    77                lotatc_datas, 
    78                strip=False, 
     98                           lotatc_datas, 
     99               strip=None, 
    79100               upx=True, 
    80                name='lotatc_client/lotatc_client') 
     101               name=os.path.join('dist', 'lotatc_client')) 
     102 
  • trunk/tools/pyinstaller_script/generate_win32.bat

    r2285 r2287  
    1515echo "      o LOTATC..." 
    1616python pyinstaller.py ../tools/pyinstaller_script/dist/lotatc/lotatc_client_win.spec 
    17 python pyinstaller.py ../tools/pyinstaller_script/dist/lotatc/lotatc_server_win.spec 
     17echo "python pyinstaller.py ../tools/pyinstaller_script/dist/lotatc/lotatc_server_win.spec" 
    1818cd ..\tools\pyinstaller_script 
    1919echo "DO NOT FORGET TO COPY DIRECTORY TO LOTATC" 
Note: See TracChangeset for help on using the changeset viewer.