diff --git a/bootstrap.py b/bootstrap.py index 2278ca9b6..84b92ff10 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -105,7 +105,7 @@ def make_cmd(prefix, pth, pyjsversion, pyjspth, cmdname, txt): if os.path.exists(cmd): if sys.platform == 'win32' \ and hasattr(os, "chmod"): - os.chmod(cmd, 0755) + os.chmod(cmd, 0x1ed) os.unlink(cmd) f = open(cmd, "w") f.write(txt % {'exec': sys.executable, @@ -115,7 +115,7 @@ def make_cmd(prefix, pth, pyjsversion, pyjspth, cmdname, txt): f.close() if hasattr(os, "chmod"): - os.chmod(cmd, 0555) + os.chmod(cmd, 0x16d) if sys.platform == 'win32': cmd = os.path.join("bin", cmdname) diff --git a/run_bootstrap_first_then_setup.py b/run_bootstrap_first_then_setup.py index 83d82d8b6..0a595ae23 100644 --- a/run_bootstrap_first_then_setup.py +++ b/run_bootstrap_first_then_setup.py @@ -74,14 +74,14 @@ def get_dir(dirname): if __name__ == '__main__': - print >> sys.stderr, """ + sys.stderr.write(""" Have you run bootstrap.py to create bin/pyjsbuild and bin/pyjscompile? e.g. on Unix systems: python bootstrap.py /usr/share/pyjamas /usr - """ + """) setup(name = "Pyjamas", version = "0.7",