From: Daira Hopwood Date: Tue, 7 Oct 2014 00:21:51 +0000 (+0100) Subject: Workaround for references to 'src' directory from .egg-link and .pth files. X-Git-Url: https://git.rkrishnan.org/vdrive/quickstart.html?a=commitdiff_plain;h=refs%2Fheads%2F182-osx-packaging-3;p=tahoe-lafs%2Ftahoe-lafs.git Workaround for references to 'src' directory from .egg-link and .pth files. Signed-off-by: Daira Hopwood --- diff --git a/Makefile b/Makefile index 145a1dd5..0dd234c4 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,8 @@ build: .PHONY: build-osx-pkg build-osx-pkg: $(PYTHON) setup.py build + find support -name allmydata-tahoe.egg-link -execdir rm -f -- '{}' + + find support -name easy-install.pth -execdir sed -i 's|^.*/src$$||' '{}' + touch .built # create component pkg