summaryrefslogtreecommitdiffstats
path: root/openstack/common/setup.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-01-16 18:27:09 -0500
committerMonty Taylor <mordred@inaugust.com>2013-01-16 18:27:09 -0500
commitb54581bd1b5d00e0d079a81a7592d2dc4b86901b (patch)
tree79d77fed1827be0575f2c32c486876d7596347ef /openstack/common/setup.py
parent93aacfa8eff3fa04578313c717de7ed2c28a51ef (diff)
downloadoslo-b54581bd1b5d00e0d079a81a7592d2dc4b86901b.tar.gz
oslo-b54581bd1b5d00e0d079a81a7592d2dc4b86901b.tar.xz
oslo-b54581bd1b5d00e0d079a81a7592d2dc4b86901b.zip
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
Diffstat (limited to 'openstack/common/setup.py')
-rw-r--r--openstack/common/setup.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/openstack/common/setup.py b/openstack/common/setup.py
index 32f093f..087a954 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],