Makefile: use absolute path to src/ in PP, since check-memory needs it (it chdirs then imports allmydata)
This commit is contained in:
parent
32f25f33e3
commit
228a576a3f
4
Makefile
4
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:
|
||||
|
|
Loading…
Reference in New Issue