]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: add simple 'repl' target to start a python interpreter with a useful PYTHONPATH
authorBrian Warner <warner@allmydata.com>
Sat, 3 Nov 2007 05:32:55 +0000 (22:32 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 3 Nov 2007 05:32:55 +0000 (22:32 -0700)
Makefile

index d3ee97494ce659249e760bbad44c27e7ac277dde..793b204041a35e347b2f98d57802027a9be32cc9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -225,6 +225,11 @@ check-speed: .built
        $(PYTHON) src/allmydata/test/check_speed.py $(TESTCLIENTDIR)
        $(PYTHON) bin/tahoe stop $(TESTCLIENTDIR)
 
+# 'make repl' is a simple-to-type command to get a Python interpreter loop
+# from which you can type 'import allmydata'
+repl:
+       $(PP) python
+
 test-darcs-boringfile:
        $(MAKE)
        $(PYTHON) misc/test-darcs-boringfile.py