From 228a576a3f06c6398743e100036d553be7d3b2e3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 14 Sep 2007 20:17:43 -0700 Subject: [PATCH] Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs then imports allmydata) --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9d981c14..955dff46 100644 --- a/Makefile +++ b/Makefile @@ -37,10 +37,12 @@ ifeq ($(PLAT),win32) TRIALPATH := $(shell cygpath -w $(TRIALPATH)) SUPPORT = $(shell cygpath -w $(shell pwd))\support SUPPORTLIB := $(SUPPORT)\Lib\site-packages + SRCPATH := $(shell cygpath -w $(shell pwd))\src else PYVER=$(shell $(PYTHON) misc/pyver.py) SUPPORT = $(shell pwd)/support SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages + SRCPATH := $(shell pwd)/src endif ifeq ($(PLAT),cygwin) @@ -65,7 +67,7 @@ EGGSPATH = $(shell $(PYTHON) misc/find-dep-eggs.py) show-eggspath: @echo $(EGGSPATH) -PP=PYTHONPATH="src$(PATHSEP)$(EGGSPATH)$(PATHSEP)$(PYTHONPATH)" +PP=PYTHONPATH="$(SRCPATH)$(PATHSEP)$(EGGSPATH)$(PATHSEP)$(PYTHONPATH)" .PHONY: make-version build make-version: -- 2.45.2