Workaround for latest pip versions

Starting from pip 20.2 the --install-option doesn't work anymore,
and we knew it was going to stop working since a while.
Trying to work around that removing the option and just linking the
scripts to the final destination.

Change-Id: Ie24cb597ac6d64dda78284ef522418dd0ccd055f
This commit is contained in:
Riccardo Pittau 2020-11-26 17:08:04 +01:00
parent 83d628c4e4
commit e641593971
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ fi
$VENVDIR/bin/pip install 'pip>=7.1'
# install IPA inside the virtual environment
$VENVDIR/bin/pip install -c $UPPER_CONSTRAINTS $IPADIR --install-option="--install-scripts=/usr/local/bin/"
$VENVDIR/bin/pip install -c $UPPER_CONSTRAINTS $IPADIR
ln -s $VENVDIR/bin/ironic-python-agent /usr/local/bin/
ln -s $VENVDIR/bin/ironic-collect-introspection-data /usr/local/bin/
case "$DIB_INIT_SYSTEM" in
upstart)