Specify cwd for garden cmd. Use --app arg.
This commit is contained in:
parent
097073827f
commit
0bec4893a6
1 changed files with 3 additions and 2 deletions
|
@ -407,8 +407,9 @@ class Buildozer(object):
|
|||
def _install_garden_package(self, package):
|
||||
self._ensure_virtualenv()
|
||||
self.debug('Install garden package {} in virtualenv'.format(package))
|
||||
self.cmd('garden install {}'.format(package),
|
||||
env=self.env_venv)
|
||||
self.cmd('garden install --app {}'.format(package),
|
||||
env=self.env_venv,
|
||||
cwd=self.app_dir)
|
||||
|
||||
def _ensure_virtualenv(self):
|
||||
if hasattr(self, 'venv'):
|
||||
|
|
Loading…
Reference in a new issue