From 8a584caa8c35c5c050fa11cf7fc46f9765d7cbb6 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 24 Sep 2017 16:53:51 -0400 Subject: [PATCH] don't import code automatically, only use -c Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index b088ba29..aec2dbf1 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -324,11 +324,6 @@ def ensure_pipfile(validate=True): python = which('python') if not USING_DEFAULT_PYTHON else False project.create_pipfile(python=python) - click.echo(crayons.white(u'Discovering imports from local codebase…', bold=True)) - for req in import_from_code('.'): - click.echo(' Found {0}!'.format(crayons.green(req))) - project.add_package_to_pipfile(req) - # Validate the Pipfile's contents. if validate and project.virtualenv_exists and not PIPENV_SKIP_VALIDATION: # Ensure that Pipfile is using proper casing.