Ensure pycache files are removed on deb creation
This commit is contained in:
parent
afb0359c20
commit
ffa3dd5edb
|
@ -2,6 +2,7 @@
|
|||
ver="$( head -1 debian/changelog | awk -F'[()-]' '{ print $2 }' )"
|
||||
git pull
|
||||
rm ../pvc_*
|
||||
find . -name "__pycache__" -exec rm -r {} \;
|
||||
dh_make -p pvc_${ver} --createorig --single --yes
|
||||
dpkg-buildpackage -us -uc
|
||||
dh_clean
|
||||
|
|
|
@ -23,6 +23,7 @@ pvc (${new_ver}) unstable; urgency=medium
|
|||
|
||||
-- Joshua Boniface <joshua@boniface.me> $( date -R )
|
||||
EOF
|
||||
find . -name "__pycache__" -exec rm -r {} \;
|
||||
# Build source tarball
|
||||
dh_make -p pvc_${new_ver} --createorig --single --yes
|
||||
# Build packages
|
||||
|
|
Loading…
Reference in New Issue