summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-29 22:21:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-29 22:21:48 -0400
commitc7f90f9e930835a955df59bffe96e996dfcf11a0 (patch)
treeab7392478c60177f4912c40e9febae1e517ff3c6 /Makefile
parentc1d4f46e580ee4eab17c527f94a01e825a496e42 (diff)
downloadpython-coveragepy-c7f90f9e930835a955df59bffe96e996dfcf11a0.tar.gz
Working toward reading source from eggs, but this isn't right on Py3k yet.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c8e53c4..71beee5 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ default:
@echo "* No default action *"
TEST_ZIP = test/zipmods.zip
+TEST_EGG = test/eggsrc/dist/covtestegg1-0.0.0-py2.5.egg
clean:
python test/test_farm.py clean
@@ -16,6 +17,7 @@ clean:
-rm -f MANIFEST
-rm -f .coverage .coverage.* coverage.xml
-rm -f $(TEST_ZIP)
+ -rm -rf test/eggsrc/build test/eggsrc/dist test/eggsrc/*.egg-info
-rm -f setuptools-*.egg
-rm -rf doc/_build/*
@@ -44,10 +46,13 @@ testready: testdata devinst
tests: testready
nosetests
-testdata: $(TEST_ZIP)
+testdata: $(TEST_ZIP) $(TEST_EGG)
$(TEST_ZIP): test/covmodzip1.py
zip -j $@ $+
+$(TEST_EGG): test/eggsrc/setup.py test/eggsrc/egg1/egg1.py
+ cd test/eggsrc; python setup.py bdist_egg
+
kit:
python setup.py sdist --formats=gztar
python setup.py bdist_wininst