Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.466 kb
#!/usr/bin/env python
import sys
donext = 0
tab = sys.argv[1:]
for a in tab:
if donext:
path = a
donext = 0
if a == "-srcfolder":
donext = 1
import os
for p in os.walk(path):
if p[0].endswith("python.pkg"):
pythondir = p[0]
dest = os.path.join(pythondir, "Contents", "Resources")
import shutil
"macpostinstall") ,os.path.join(dest, "postflight"))
os.system("hdiutil %s" % " ".join(tab))
Jump to Line
Something went wrong with that request. Please try again.