From b70bda01f13019cd3db39752dce8e78fcfeee2eb Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Fri, 2 Nov 2007 22:32:55 -0700
Subject: [PATCH] Makefile: add simple 'repl' target to start a python
 interpreter with a useful PYTHONPATH

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index d3ee9749..793b2040 100644
--- 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
-- 
2.45.2