Merge pull request #25 from kivy/autofix_distribute
fix distribute install before installing every dependencies, fix a few i...
This commit is contained in:
commit
4871d948cd
1 changed files with 4 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue