fix distribute install before installing every dependencies, fix a few issues
maybe not the cleanest way, though
This commit is contained in:
parent
134001f4ca
commit
374be2404f
1 changed files with 4 additions and 0 deletions
|
@ -380,6 +380,10 @@ class Buildozer(object):
|
||||||
|
|
||||||
def _install_application_requirement(self, module):
|
def _install_application_requirement(self, module):
|
||||||
self._ensure_virtualenv()
|
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.debug('Install requirement {} in virtualenv'.format(module))
|
||||||
self.cmd('pip-2.7 install --download-cache={} --target={} {}'.format(
|
self.cmd('pip-2.7 install --download-cache={} --target={} {}'.format(
|
||||||
self.global_cache_dir, self.applibs_dir, module),
|
self.global_cache_dir, self.applibs_dir, module),
|
||||||
|
|
Loading…
Reference in a new issue