This funky invocation syntax was introduced in 2007 (commit
56ad518),
with a comment of "make pyflakes run faster". I no longer have any idea
why that might have been the case. It's time to simplify this, because
some of our buildslaves have pipsi-installed "pyflakes" on their $PATH,
which use a "python" that's different than the one on $PATH.
PYTHON=python
export PYTHON
+PYFLAKES=pyflakes
+export PYFLAKES
# setup.py will extend sys.path to include our support/lib/... directory
# itself. It will also create it in the beginning of the 'develop' command.
.PHONY: pyflakes
pyflakes:
- @$(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
+ $(PYFLAKES) $(SOURCES) |sort |uniq
@echo
.PHONY: check-umids