MCPcopy Create free account
hub / github.com/Syncplay/syncplay / compile

Method compile

buildPy2exe.py:558–566  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 = {}

Callers 6

runMethod · 0.95
parseTimeFunction · 0.80
VlcPlayerClass · 0.80
MplayerPlayerClass · 0.80
MpvPlayerClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected