pip-and-virtualenv: also handle rhel distros
The current pip install script only checked for centos/fedora This causes setuptools errrors like (with pbr install): "SyntaxError: '<' operator not allowed in environment markers" Explictly list distro names in that situation Change-Id: I5c894ab6152acf5441231acc1215fe00967f4f31
This commit is contained in:
parent
b833960c69
commit
fedea46c9e
@ -6,7 +6,7 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [[ $DISTRO_NAME =~ (centos|fedora) ]]; then
|
||||
if [[ $DISTRO_NAME =~ (fedora|centos|centos7|rhel|rhel7) ]]; then
|
||||
# GENERAL WARNING : mixing packaged python libraries with
|
||||
# pip-installed versions always creates issues. Upstream
|
||||
# openstack-infra uses this a lot (especially devstack) but be
|
||||
|
Loading…
Reference in New Issue
Block a user