Date: Sun, 07 Aug 2011 21:11:54 +0300 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: Andrey Zonov <andrey@zonov.org> Cc: freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: [patch] always install python's eggs as unpacked files Message-ID: <4E3ED56A.5090108@gmail.com> In-Reply-To: <4E3E75D1.7050206@zonov.org> References: <4E3E75D1.7050206@zonov.org>
next in thread | previous in thread | raw e-mail | index | archive | help
07.08.2011 14:24, Andrey Zonov wrote: > Hi, > > I've got two problems with python's eggs installed from ports. > > As you know, many eggs install from ports as archives and then > unprivileged pseudo-user tries to use them, it's got an error about > can't creating PYTHON_EGG_CACHE. That's OK, I've just set environment > "PYTHON_EGG_CACHE=/var/tmp" and all works quite well. But a week ago I > needed to run two daemons that use pymongo and I couldn't do this. The > first daemon created PYTHON_EGG_CACHE and unpacked pymongo, but the > second couldn't create PYTHON_EGG_CACHE because PYTHON_EGG_CACHE already > exists! Even though they both run as "nobody". > > The second problem with that behaviour is when you're installing some > python module from packages you need the Internet connection to get an > egg from site and build it on-the-fly. > > Please, inspect my patch. I think that's a good solution for that problems. I second this one, default behavior seems incorrect for me too. I've tested the patch against devel/py-greenlet an it works for me with minor changes (commenting out PYDISTUTILS_INSTALLARGS). -- Sphinx of black quartz judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E3ED56A.5090108>