From 0a4081851ed8f1b3f74f85e4302d19616bf18467 Mon Sep 17 00:00:00 2001 From: Ben Rousch Date: Thu, 3 Apr 2014 10:19:54 -0400 Subject: [PATCH] Fixed garden install for newer virtualenvs --- buildozer/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildozer/__init__.py b/buildozer/__init__.py index 3a7ba070a..e1ff25cc9 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -403,7 +403,7 @@ 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-2.7 install --download-cache={} --target={} {}'.format( + self.cmd('pip install --download-cache={} --target={} {}'.format( self.global_cache_dir, self.applibs_dir, module), env=self.env_venv, cwd=self.buildozer_dir) @@ -421,7 +421,7 @@ def check_garden_requirements(self): return self._ensure_virtualenv() - self.cmd('pip-2.7 install Kivy-Garden==0.1.1', env=self.env_venv) + self.cmd('pip install Kivy-Garden==0.1.1', env=self.env_venv) # recreate gardenlibs self.rmdir(self.gardenlibs_dir) @@ -445,7 +445,7 @@ def _ensure_virtualenv(self): return self.venv = join(self.buildozer_dir, 'venv') if not self.file_exists(self.venv): - self.cmd('virtualenv-2.7 --python=python2.7 ./venv', + self.cmd('virtualenv --python=python2.7 ./venv', cwd=self.buildozer_dir) # read virtualenv output and parse it