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)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to