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
This commit is contained in:
Monty Taylor 2013-01-16 18:27:09 -05:00
parent 93aacfa8ef
commit b54581bd1b

View File

@ -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],