diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..a0f74c20 --- /dev/null +++ b/Makefile @@ -0,0 +1,58 @@ +# Makefile for utility work on coverage.py + +default: + @echo "* No default action *" + +TEST_ZIP = test/zipmods.zip + +clean: + -rm -rf build + -rm -rf dist + -rm -rf coverage.egg-info + -rm -f *.pyd */*.pyd + -rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc + -rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo + -rm -f *.bak */*.bak */*/*.bak */*/*/*.bak + -rm -f MANIFEST + -rm -f .coverage .coverage.* + -rm -f $(TEST_ZIP) + +lint: clean + python -x /Python25/Scripts/pylint.bat --rcfile=.pylintrc coverage + python /Python25/Lib/tabnanny.py coverage + python checkeol.py + +tests: $(TEST_ZIP) + python test_coverage.py + +$(TEST_ZIP): test/covmodzip1.py + zip -j $@ $+ + +coverage: + python coverage_coverage.py + +WEBHOME = c:/ned/web/stellated/pages/code/modules + +publish: kit + cp coverage.py $(WEBHOME) + cp test_coverage.py $(WEBHOME) + cp coverage_coverage.py $(WEBHOME) + cp doc/coverage.px $(WEBHOME) + cp dist/coverage*.tar.gz $(WEBHOME) + +kit: + python setup.py sdist --formats=gztar + python setup.py bdist_wininst + +pypi: + python setup.py register + +install: + python setup.py install + +devinst: + python setup.py develop + +uninstall: + -rm -rf $(PYHOME)/lib/site-packages/coverage* + -rm -rf $(PYHOME)/scripts/coverage* |
