diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-01-18 07:13:47 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-01-18 07:13:47 +0000 |
commit | 39206ac47afff14c3ed74d82e7d8a3973178cdf5 (patch) | |
tree | 190ed8c202b502f539db4c169a0847700cbb43b9 /openstack/common | |
parent | 9684c65ffe8b81e49d9ef1130b735d46d1ad449c (diff) | |
parent | b54581bd1b5d00e0d079a81a7592d2dc4b86901b (diff) | |
download | oslo-39206ac47afff14c3ed74d82e7d8a3973178cdf5.tar.gz oslo-39206ac47afff14c3ed74d82e7d8a3973178cdf5.tar.xz oslo-39206ac47afff14c3ed74d82e7d8a3973178cdf5.zip |
Merge "Remove write_requirements"
Diffstat (limited to 'openstack/common')
-rw-r--r-- | openstack/common/setup.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/openstack/common/setup.py b/openstack/common/setup.py index 13cf000..403f9ee 100644 --- a/openstack/common/setup.py +++ b/openstack/common/setup.py @@ -108,15 +108,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], |