From 32d438edda3a20b344d7e466105e9cddc6c7e606 2012-08-13 14:19:45 From: Benjie Chen Date: 2012-08-13 14:19:45 Subject: [PATCH] allow pip install from github repository directly --- diff --git a/setup.py b/setup.py index b5a476d..183d341 100755 --- a/setup.py +++ b/setup.py @@ -80,7 +80,7 @@ pjoin = os.path.join def cleanup(): """Clean up the junk left around by the build process""" - if "develop" not in sys.argv: + if "develop" not in sys.argv and "egg_info" not in sys.argv: try: shutil.rmtree('ipython.egg-info') except: