From b54581bd1b5d00e0d079a81a7592d2dc4b86901b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 16 Jan 2013 18:27:09 -0500 Subject: [PATCH] Remove write_requirements Everyone hated this, so we decided to get rid of it at the last summit. Actually, come to think of it, I think we decied to get rid of it in San Fran. Change-Id: I7d93af1eb98a37ff018730669731a7ee22516279 --- openstack/common/setup.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/openstack/common/setup.py b/openstack/common/setup.py index 32f093f60..087a954c6 100644 --- a/openstack/common/setup.py +++ b/openstack/common/setup.py @@ -107,15 +107,6 @@ def parse_dependency_links(requirements_files=['requirements.txt', return dependency_links -def write_requirements(): - if 'VIRTUAL_ENV' in os.environ: - with open("requirements.txt", "w") as req_file: - output = subprocess.Popen(["pip", "freeze", "-l"], - stdout=subprocess.PIPE) - requirements = output.communicate()[0].strip() - req_file.write(requirements) - - def _run_shell_command(cmd): if os.name == 'nt': output = subprocess.Popen(["cmd.exe", "/C", cmd],