Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
couple of minor changes for running bootstrap.py under python3
  • Loading branch information
Luke Leighton committed Oct 20, 2010
1 parent 0c5561c commit 57e0137
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bootstrap.py
Expand Up @@ -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,
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions run_bootstrap_first_then_setup.py
Expand Up @@ -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",
Expand Down

0 comments on commit 57e0137

Please sign in to comment.