debian: remove generated files
This commit is contained in:
parent
364e3b2d44
commit
cbb539c24f
|
@ -1,7 +0,0 @@
|
|||
|
||||
# Automatically added by dh_python2:
|
||||
if which pycompile >/dev/null 2>&1; then
|
||||
pycompile -p python-django-tenant-schemas
|
||||
fi
|
||||
|
||||
# End automatically added section
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
# Automatically added by dh_python2:
|
||||
if which pyclean >/dev/null 2>&1; then
|
||||
pyclean -p python-django-tenant-schemas
|
||||
else
|
||||
dpkg -L python-django-tenant-schemas | grep \.py$ | while read file
|
||||
do
|
||||
rm -f "${file}"[co] >/dev/null
|
||||
done
|
||||
fi
|
||||
|
||||
# End automatically added section
|
|
@ -1,4 +0,0 @@
|
|||
python:Versions=2.7
|
||||
python:Provides=python2.7-django-tenant-schemas
|
||||
python:Depends=python (>= 2.7), python (<< 2.8), python:any (>= 2.6.6-7~), python-django, python-psycopg2
|
||||
misc:Depends=
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
# Automatically added by dhpython:
|
||||
if which py3compile >/dev/null 2>&1; then
|
||||
py3compile -p python3-django-tenant-schemas
|
||||
fi
|
||||
|
||||
# End automatically added section
|
|
@ -1,10 +0,0 @@
|
|||
|
||||
# Automatically added by dhpython:
|
||||
if which py3clean >/dev/null 2>&1; then
|
||||
py3clean -p python3-django-tenant-schemas
|
||||
else
|
||||
dpkg -L python3-django-tenant-schemas | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
|
||||
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
|
||||
fi
|
||||
|
||||
# End automatically added section
|
|
@ -1,2 +0,0 @@
|
|||
python3:Depends=python3-psycopg2, python3-django, python3:any (>= 3.3.2-2~)
|
||||
misc:Depends=
|
Loading…
Reference in New Issue