# This Makefile is only used by developers. PYTHON=python VERSION=$(shell $(PYTHON) setup.py --version) NAME=$(shell $(PYTHON) setup.py --name) all: @echo "Read the file README." clean: -$(PYTHON) setup.py clean --all # ignore errors of this command find . -name '*.py[co]' -exec rm -f '{}' ';' dist: chmod -R u+w,go-w,a+rX-s . umask 0022; TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" ZIPOPT="-X" $(PYTHON) setup.py sdist --force-manifest --formats=bztar,zip bdist_wininst .PHONY: all clean dist