Permalink
Browse files

Merge pull request #2 from numerodix/master

A couple of patches to make it work with pypy 1.5
  • Loading branch information...
2 parents c9d817a + d067106 commit 4e10d799bdec8fe3dc2b600f10c5d7f9006f1d63 Alexei Boronine committed Jun 13, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 pypyenv.py
View
@@ -63,6 +63,7 @@ def install(download):
pythonsite = os.path.join("..", "lib", "python" + version, "site-packages")
pypysite = os.path.join("pypy", "site-packages")
out("installing ENV/%s symlink" % pypysite)
+ shutil.rmtree(pypysite)
os.symlink(pythonsite, pypysite)
def uninstall():
@@ -116,16 +117,13 @@ def main():
if win:
print "Supports only Linux and OS X at this point"
sys.exit(2)
- if x86_64 and jit:
- print "JIT is not supported on x86_64, rerun with --nojit"
- sys.exit(2)
if linux and x86 and jit:
download = "http://pypy.org/download/pypy-1.5-linux.tar.bz2"
if linux and x86 and nojit:
download = "http://pypy.org/download/pypy-1.5-linux-nojit.tar.bz2"
elif linux and x86_64:
- download = "http://pypy.org/download/pypy-1.5-linux64-nojit.tar.bz2"
+ download = "http://pypy.org/download/pypy-1.5-linux64.tar.bz2"
elif osx and jit:
download = "http://pypy.org/download/pypy-1.5-osx.tar.bz2"
elif osx and nojit:

0 comments on commit 4e10d79

Please sign in to comment.