From f0cc4add35fb26efbc44dadf9e236c63fe77b776 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Thu, 26 Jan 2017 23:41:00 -0700 Subject: [PATCH] consolidating ensure checks to virtualenv when possible --- HISTORY.txt | 2 ++ pipenv/cli.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY.txt b/HISTORY.txt index e6ec548c..66e4fe5e 100644 --- a/HISTORY.txt +++ b/HISTORY.txt @@ -1,3 +1,5 @@ +3.2.5: + - Significant speed improvements for pipenv run and pipenv shell. 3.2.4: - $ pipenv uninstall --all - Don't uninstall setuptools, wheel, pip, or six. diff --git a/pipenv/cli.py b/pipenv/cli.py index ea2a5313..aa7db6c4 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -710,7 +710,7 @@ def lock(three=None): @click.option('--three/--two', is_flag=True, default=None, help="Use Python 3/2 when creating virtualenv.") def shell(three=None): # Ensure that virtualenv is available. - ensure_project(three=three) + ensure_virtualenv(three=three) # Set an environment variable, so we know we're in the environment. os.environ['PIPENV_ACTIVE'] = '1' @@ -765,7 +765,7 @@ def shell(three=None): @click.option('--three/--two', is_flag=True, default=None, help="Use Python 3/2 when creating virtualenv.") def run(command, args, three=None): # Ensure that virtualenv is available. - ensure_project(three=three) + ensure_virtualenv(three=three) # Spawn the new process, and interact with it. try: