Skip to content
Snippets Groups Projects
Makefile 456 B
Newer Older
all: codecheck test

	rm -rf build dist *.egg-info *.pyc
MININET = mininet/*.py
TEST = mininet/test/*.py
EXAMPLES = examples/*.py
PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
Bob Lantz's avatar
Bob Lantz committed
P8IGN = E251,E201,E302,E202
codecheck: $(PYSRC)
	pyflakes $(PYSRC)
	pylint --rcfile=.pylint $(PYSRC)
	pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
	mininet/test/test_nets.py
install: mnexec
	cp mnexec bin/
	python setup.py install