pkgdep: install pycodestyle in favor of pep8
pycodestyle is the new style checker for python. We should install it as available on all distributions. Change-Id: I399f84a7027c0d7b8e9974fbc3be86c3c4beefae Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/444447 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
12759ab569
commit
df517550cc
@ -55,7 +55,7 @@ if [ -s /etc/redhat-release ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
yum install -y gcc gcc-c++ make CUnit-devel libaio-devel openssl-devel \
|
yum install -y gcc gcc-c++ make CUnit-devel libaio-devel openssl-devel \
|
||||||
git astyle python-pep8 lcov python clang-analyzer libuuid-devel \
|
git astyle python-pycodestyle lcov python clang-analyzer libuuid-devel \
|
||||||
sg3_utils libiscsi-devel pciutils
|
sg3_utils libiscsi-devel pciutils
|
||||||
# Additional (optional) dependencies for showing backtrace in logs
|
# Additional (optional) dependencies for showing backtrace in logs
|
||||||
yum install -y libunwind-devel || true
|
yum install -y libunwind-devel || true
|
||||||
@ -77,6 +77,8 @@ elif [ -f /etc/debian_version ]; then
|
|||||||
# Includes Ubuntu, Debian
|
# Includes Ubuntu, Debian
|
||||||
apt-get install -y gcc g++ make libcunit1-dev libaio-dev libssl-dev \
|
apt-get install -y gcc g++ make libcunit1-dev libaio-dev libssl-dev \
|
||||||
git astyle pep8 lcov clang uuid-dev sg3-utils libiscsi-dev pciutils
|
git astyle pep8 lcov clang uuid-dev sg3-utils libiscsi-dev pciutils
|
||||||
|
# Additional python style checker not available on ubuntu 16.04 or earlier.
|
||||||
|
apt-get install -y pycodestyle || true
|
||||||
# Additional (optional) dependencies for showing backtrace in logs
|
# Additional (optional) dependencies for showing backtrace in logs
|
||||||
apt-get install -y libunwind-dev || true
|
apt-get install -y libunwind-dev || true
|
||||||
# Additional dependencies for NVMe over Fabrics
|
# Additional dependencies for NVMe over Fabrics
|
||||||
@ -92,7 +94,7 @@ elif [ -f /etc/debian_version ]; then
|
|||||||
apt-get install -y autoconf automake libtool
|
apt-get install -y autoconf automake libtool
|
||||||
elif [ -f /etc/SuSE-release ]; then
|
elif [ -f /etc/SuSE-release ]; then
|
||||||
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
zypper install -y gcc gcc-c++ make cunit-devel libaio-devel libopenssl-devel \
|
||||||
git-core lcov python-base python-pep8 libuuid-devel sg3_utils pciutils
|
git-core lcov python-base python-pycodestyle libuuid-devel sg3_utils pciutils
|
||||||
# Additional (optional) dependencies for showing backtrace in logs
|
# Additional (optional) dependencies for showing backtrace in logs
|
||||||
zypper install libunwind-devel || true
|
zypper install libunwind-devel || true
|
||||||
# Additional dependencies for NVMe over Fabrics
|
# Additional dependencies for NVMe over Fabrics
|
||||||
|
Loading…
Reference in New Issue
Block a user