(self)
| 556 | outfile.write(contents) |
| 557 | |
| 558 | def compile(self): |
| 559 | if not os.path.isfile(NSIS_COMPILE): |
| 560 | return "makensis.exe not found, won't create the installer" |
| 561 | subproc = subprocess.Popen([NSIS_COMPILE, SETUP_SCRIPT_PATH], env=os.environ) |
| 562 | subproc.communicate() |
| 563 | retcode = subproc.returncode |
| 564 | os.remove(SETUP_SCRIPT_PATH) |
| 565 | if retcode: |
| 566 | raise RuntimeError("NSIS compilation return code: %d" % retcode) |
| 567 | |
| 568 | def getBuildDirContents(self, path): |
| 569 | fileList = {} |
no outgoing calls
no test coverage detected