From 374be2404f0547d0f6d98355c45baafd2dc97509 Mon Sep 17 00:00:00 2001 From: tshirtman Date: Tue, 3 Sep 2013 16:13:34 +0200 Subject: [PATCH] fix distribute install before installing every dependencies, fix a few issues maybe not the cleanest way, though --- buildozer/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildozer/__init__.py b/buildozer/__init__.py index 22ecca5..ad8b830 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -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),