Changeset 2702


Ignore:
Timestamp:
01/31/12 05:12:05 (4 months ago)
Author:
joni
Message:

now with vcredist to be distributed

Location:
simo/trunk/dev
Files:
3 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • simo/trunk/dev/pyinstaller/build.py

    r2279 r2702  
    2222 
    2323SIMO_SPEC = 'simo_onedir.spec' 
    24 SIMO_SPEC_26 = 'simo26.spec' 
    2524 
    2625def build(pyinstaller_path): 
     
    4645    print 'Executing Build.py for runner...' 
    4746    build_py = os.path.join(pyinstaller_path, 'Build.py') 
    48     if sys.version_info[0:2] == (2, 6): 
    49         specfile = SIMO_SPEC_26  
    50         print 'using %s' % specfile 
    51         if not (os.path.exists('Microsoft.VC90.CRT.manifest') and \ 
    52                 os.path.exists('msvcm90.dll') and \ 
    53                 os.path.exists('msvcp90.dll') and \ 
    54                 os.path.exists('msvcr90.dll')): 
    55             print 'You need to have Microsoft.VC90.CRT.manifest, '\ 
    56                   'msvcm90.dll, msvcp90.dll and msvcr90.dll in this folder!' 
    57             print 'Default location is C:\Program Files\Microsoft '\ 
    58                   'Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT' 
    59             sys.exit(1) 
    60     else: 
    61         specfile = SIMO_SPEC 
    62         print 'using %s' % specfile 
     47    specfile = SIMO_SPEC 
     48    print 'using %s' % specfile 
    6349    cmd = ' '.join(['python', build_py, specfile]) 
    6450    os.system(cmd) 
     
    9783    shutil.copy('dist/builder/builder.exe', target) 
    9884    shutil.copy('dist/logger/logger.exe', target) 
     85    shutil.copy('msvcr71.dll', target) 
     86    shutil.copy('../msvcr90/vcredist_x86.exe', target) 
    9987     
    10088    print 'and now the simulator folder' 
  • simo/trunk/dev/pyinstaller/simo_onedir.spec

    r2697 r2702  
    4646               ('CFGMGR.dll', '', ''), 
    4747               ('DEVOBJ.dll', '', ''), 
    48                ('MSASN1.dll', '', ''),] 
     48               ('MSASN1.dll', '', ''), 
     49               ('Microsoft.VC90.CRT.manifest', '', ''), 
     50               ('msvcm90.dll', '', ''), 
     51               ('msvcp90.dll', '', ''), 
     52               ('msvcr90.dll', '', ''),] 
    4953            
    5054######################## 
Note: See TracChangeset for help on using the changeset viewer.