14 for p
in os
.walk(path
):
15 if p
[0].endswith("python.pkg"):
17 dest
= os
.path
.join(pythondir
, "Contents", "Resources")
19 shutil
.copy(os
.path
.join(os
.path
.dirname(__file__
),
20 "macpostinstall") ,os
.path
.join(dest
, "postflight"))
21 os
.system("hdiutil %s" % " ".join(tab
))