Skip to content

Commit

Permalink
Merge pull request #282 from cbenhagen/patch-3
Browse files Browse the repository at this point in the history
Remove pip --download-cache flag (fixes #279)
  • Loading branch information
akshayaurora committed Feb 3, 2016
2 parents 31eb8b4 + c335f42 commit b4f21f7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions buildozer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,10 +469,9 @@ def _install_application_requirement(self, module):
self.cmd('curl http://python-distribute.org/distribute_setup.py | venv/bin/python', get_stdout=True, cwd=self.buildozer_dir)

self.debug('Install requirement {} in virtualenv'.format(module))
self.cmd('pip install --download-cache={} --target={} {}'.format(
self.global_cache_dir, self.applibs_dir, module),
env=self.env_venv,
cwd=self.buildozer_dir)
self.cmd('pip install --target={} {}'.format(self.applibs_dir, module),
env=self.env_venv,
cwd=self.buildozer_dir)

def check_garden_requirements(self):
'''Ensure required garden packages are available to be included.
Expand Down

0 comments on commit b4f21f7

Please sign in to comment.