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/simplejson/encoder.py.html?a=commitdiff_plain;h=419c3cd570a1d7d59acc9bdf6b71f8c02a5ded0f;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