1
0
Fork 0

Manually removing some files that pybuild doesn't clean up during build (Closes: #1049152).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 14:33:31 +01:00
parent fb40e3a029
commit ad2bae9569
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

4
debian/rules vendored
View file

@ -5,6 +5,10 @@ export PYBUILD_NAME=treelib
%:
dh ${@} --buildsystem=pybuild
execute_after_dh_auto_clean:
# help pybuild
rm -rf *.egg-info
execute_after_dh_installexamples:
# correcting shebang
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' debian/python3-treelib/usr/share/doc/python3-treelib/examples/*.py