[PKG-Openstack-devel] Bug#794069: bandit: please install into private directory
Piotr Ożarowski
piotr at sar0.p1otr.com
Thu Jul 30 09:38:27 UTC 2015
Package: bandit
Version: 0.12.0-1
Severity: normal
Dear Maintainer,
bandit installs files into public namespace, please don't do that.
If it really is a public module, provide python-bandit and
python3-bandit binary packages. If not, add these lines to debian/rules:
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/bandit/
override_dh_auto_install:
dh_auto_install
mv /usr/bin/bandit debian/bandit/usr/share/bandit/run
dh_link /usr/share/bandit/run /usr/bin/bandit
override_dh_python2:
dh_python2 --requires requirements.txt
bonus points for also switching to Python 3 (we'll remove Python 2.X at
some point)
More information about the Openstack-devel
mailing list