blob: da45073394f92f8fd4ac5dc9f83618f3618f4dfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Makefile for utility work on coverage.py
default:
@echo "* No default action *"
TEST_ZIP = test/zipmods.zip
clean:
python test/test_farm.py clean
-rm -rf build
-rm -rf dist
-rm -rf coverage.egg-info
-rm -f *.pyd */*.pyd
-rm -f *.pyc */*.pyc */*/*.pyc */*/*/*.pyc */*/*/*/*.pyc */*/*/*/*/*.pyc
-rm -f *.pyo */*.pyo */*/*.pyo */*/*/*.pyo */*/*/*/*.pyo */*/*/*/*/*.pyo
-rm -f *.bak */*.bak */*/*.bak */*/*/*.bak */*/*/*/*.bak */*/*/*/*/*.bak
-rm -f coverage/*,cover
-rm -f MANIFEST
-rm -f .coverage .coverage.*
-rm -f $(TEST_ZIP)
-rm -f setuptools-*.egg
lint: clean
-python -x /Python25/Scripts/pylint.bat --rcfile=.pylintrc coverage
-python -x /Python25/Scripts/pylint.bat --rcfile=.pylintrc test/test_execfile.py
-python -x /Python25/Scripts/pylint.bat --rcfile=.pylintrc test/test_farm.py
python /Python25/Lib/tabnanny.py coverage
python checkeol.py
tests: $(TEST_ZIP) devinst
nosetests
$(TEST_ZIP): test/covmodzip1.py
zip -j $@ $+
coverage:
python coverage_coverage.py
WEBHOME = c:/ned/web/stellated/pages/code/modules
publish:
cp doc/coverage.px $(WEBHOME)
cp dist/coverage-* $(WEBHOME)
kit:
python setup.py sdist --formats=gztar
python setup.py bdist_wininst
pypi:
python setup.py register
install:
python setup.py install
DEVINST_FILE = coverage.egg-info/PKG-INFO
devinst: $(DEVINST_FILE)
$(DEVINST_FILE): coverage/tracer.c
python setup.py develop
uninstall:
-rm -rf $(PYHOME)/lib/site-packages/coverage*
-rm -rf $(PYHOME)/scripts/coverage*
|