123456789101112131415161718192021222324252627 |
- #!/bin/sh
- # -*- coding: utf-8 -*-
- basedir="$(realpath "$0" | xargs dirname)"
- set -e
- if ! [ -x "$basedir/setup.py" ]; then
- echo "basedir sanity check failed"
- exit 1
- fi
- cd "$basedir"
- find . \( \
- \( -name '__pycache__' \) -o \
- \( -name '*.pyo' \) -o \
- \( -name '*.pyc' \) -o \
- \( -name '*$py.class' \) \
- \) -delete
- rm -f cms_cython
- rm -rf build dist .pybuild
- rm -f MANIFEST
- # vim: ts=4 sw=4 expandtab
|