[build] Use python -m pip workaround 89/62789/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 21 Sep 2018 19:53:20 +0000 (21:53 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 22 Sep 2018 17:46:03 +0000 (17:46 +0000)
commita358cae56f621b5e0ef97c2bcda9e69dade79ad8
treec865813b5ac9c4e68d1a969ea49bf207fa378f1c
parenta7b0143bfc579a7a6a1b63ebf3f7ab84f9a2960f
[build] Use python -m pip workaround

pipenv depends on pip, which conflicts with some distro versions of
pip, see bug [1].

While at it, workaround lib64 issues on CentOS by passing
`--always-copy` when creating the venv [2].

[1] https://github.com/pyenv/pyenv/issues/1141
[2] https://github.com/pypa/pipenv/issues/1929

Change-Id: I6af1a5fdbe8d37f75ab8b09b050449ad432191ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 54164b84abc2b6b8772d2ac083e11ce7c137cc7c)
ci/build.sh