From a64f3c13efcf9a0c8b10bc5bd7d1e6b47f133fc8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 28 Jan 2017 15:28:53 -0500 Subject: [PATCH] delete temporary requirements.txt fixes #142 --- pipenv/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index 618ed212..127d3905 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -210,6 +210,9 @@ def do_install_dependencies(dev=False, only=False, bare=False, requirements=Fals if not bare: click.echo(crayons.blue(format_pip_output(c.out, r=deps_path))) + # Cleanup the temp requirements file. + if requirements: + os.remove(deps_path) def do_download_dependencies(dev=False, only=False, bare=False): """"Executes the download functionality."""