support python 3 for building
python 2.6 is no longer supported git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6921 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
09134d125e
commit
80bc65beb1
7 changed files with 26 additions and 16 deletions
|
@ -157,7 +157,7 @@ else:
|
|||
|
||||
# no CppUnit
|
||||
def err(target, source, env):
|
||||
print '*** error: CppUnit must be installed for testing!'
|
||||
print('*** error: CppUnit must be installed for testing!')
|
||||
return 1
|
||||
|
||||
cmd = env.Command(target, [tests], Action(err, ''))
|
||||
|
|
|
@ -20,7 +20,7 @@ def build(icon, unicon):
|
|||
pw, pr = popen2(r'C:\Progra~1\NSIS\makensis.exe -')
|
||||
pw.write(SCRIPT % locals())
|
||||
pw.close()
|
||||
print pr.read()
|
||||
print(pr.read())
|
||||
|
||||
from glob import glob
|
||||
from os import system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue