Permalink
Browse files

use download not install to prevent building locally when building ch…

…arms
  • Loading branch information...
1 parent 3ae0a02 commit b41f5a584809f547adfb0db917d5e9a2cc909500 @lutostag committed Oct 7, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 charmtools/build/tactics.py
  2. +1 −1 tests/test_build.py
@@ -753,7 +753,7 @@ def combine(self, existing):
def _add(self, pip, wheelhouse, *reqs):
with utils.tempdir(chdir=False) as temp_dir:
# put in a temp dir first to ensure we track all of the files
- utils.Process((pip, 'install',
+ utils.Process((pip, 'download',
'--no-binary', ':all:',
'-d', temp_dir) +
reqs).exit_on_error()()
View
@@ -331,7 +331,7 @@ def test_wheelhouse(self, Process, mkdtemp, rmtree_p):
with mock.patch("path.Path.files"):
bu()
Process.assert_called_with((
- '/tmp/bin/pip3', 'install',
+ '/tmp/bin/pip3', 'download',
'--no-binary', ':all:',
'-d', '/tmp',
'-r', self.dirname / 'trusty/whlayer/wheelhouse.txt'))

0 comments on commit b41f5a5

Please sign in to comment.