Merge pull request #25 from kivy/autofix_distribute

fix distribute install before installing every dependencies, fix a few i...
This commit is contained in:
Mathieu Virbel 2013-09-26 15:01:31 -07:00
commit 4871d948cd

View file

@ -380,6 +380,10 @@ class Buildozer(object):
def _install_application_requirement(self, module):
self._ensure_virtualenv()
# resetup distribute, just in case
self.debug('Install distribute')
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-2.7 install --download-cache={} --target={} {}'.format(
self.global_cache_dir, self.applibs_dir, module),