Makefile: add simple 'repl' target to start a python interpreter with a useful PYTHONPATH

This commit is contained in:
Brian Warner 2007-11-02 22:32:55 -07:00
parent 6e5b799d46
commit b70bda01f1
1 changed files with 5 additions and 0 deletions

View File

@ -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