Permalink
Browse files

Fix argument passing (issue pointed out by yyuu)

  • Loading branch information...
1 parent 52d8c89 commit 960e7d911025f8472b0be8d9907e3a00c4bbd3d4 Alexei Boronine committed Jan 28, 2012
Showing with 7 additions and 7 deletions.
  1. +4 −4 pypyenv.py
  2. +3 −3 setup.py
View
@@ -4,10 +4,9 @@
import tarfile
import shutil
import stat
-import getopt
import platform
-__version__ = "0.1.2"
+__version__ = "0.1.3"
base = sys.prefix
srcdir = "src"
@@ -16,7 +15,7 @@
pypydir = "pypy"
version = sys.version[:3]
-yes = ("y","yes")
+yes = ("y", "yes")
def out(s):
print " * " + s
@@ -86,6 +85,7 @@ def confirm_deletion(tree):
pypyenv uninstall - uninstalls PyPy from this virtualenv"""
def main():
+ args = sys.argv[1:]
if version != "2.7":
if not raw_input("PyPy implements Python 2.7, you are using a " \
"different version, continue? [y/N] ") in yes:
@@ -118,5 +118,5 @@ def main():
elif args[0] == "uninstall":
uninstall()
else:
- print help_message
+ print help_message
View
@@ -11,13 +11,13 @@
name='pypyenv',
version=__version__,
description='Install PyPy in virtualenv',
- long_description="Install PyPy as an optional Python 2.5 interpretor "\
+ long_description="Install PyPy as an optional Python interpretor "\
"in a virtualenv on Linux and OS X systems.",
author="Alexei Boronine",
license="MIT",
author_email="alexei.boronine@gmail.com",
- url="http://github.com/alexeiboronine/pypyenv",
- download_url="http://github.com/alexeiboronine/pypyenv/downloads",
+ url="http://github.com/boronine/pypyenv",
+ download_url="http://github.com/boronine/pypyenv/downloads",
keywords="pypy virtualenv",
classifiers=[
"Development Status :: 3 - Alpha",

0 comments on commit 960e7d9

Please sign in to comment.