596 |
opts.Add( |
opts.Add( |
597 |
'WIN_INSTALLER_NAME' |
'WIN_INSTALLER_NAME' |
598 |
,"Name of the installer .exe to create under Windows (minus the '.exe')" |
,"Name of the installer .exe to create under Windows (minus the '.exe')" |
599 |
,"ascend-"+version+"-py"+pyversion |
,"ascend-"+version+"-py"+pyversion+".exe" |
600 |
) |
) |
601 |
|
|
602 |
opts.Add(BoolOption( |
opts.Add(BoolOption( |
2217 |
# For the windows installer, please see pygtk/SConscript |
# For the windows installer, please see pygtk/SConscript |
2218 |
|
|
2219 |
if with_installer: |
if with_installer: |
2220 |
env.Append(NSISDEFINES={'OUTFILE':"#dist/"+env['WIN_INSTALLER_NAME']}) |
env.Append(NSISDEFINES={ |
2221 |
|
'OUTFILE':"#dist/"+env['WIN_INSTALLER_NAME'] |
2222 |
|
,"VERSION":version |
2223 |
|
,'PYVERSION':pyversion |
2224 |
|
}) |
2225 |
installer = env.Installer('installer.nsi') |
installer = env.Installer('installer.nsi') |
2226 |
Depends(installer,["pygtk","tcltk","ascend.dll","models","ascend-config"]) |
Depends(installer,["pygtk","tcltk","ascend.dll","models","ascend-config"]) |
2227 |
env.Alias('installer',installer) |
env.Alias('installer',installer) |