Date: Tue, 20 Nov 2007 10:09:06 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Hye-Shik Chang <perky@FreeBSD.org> Cc: python@FreeBSD.org Subject: Re: site.py woes Message-ID: <1195549746.22449.29.camel@pav.hide.vol.cz> In-Reply-To: <20071120022208.GA35947@FreeBSD.org> References: <1195327576.76722.6.camel@ikaros.oook.cz> <20071120022208.GA35947@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Gse8ss/0tSpM9Y+CKbYU Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Hye-Shik Chang p=ED=B9e v =FAt 20. 11. 2007 v 11:22 +0900: > On Sat, Nov 17, 2007 at 08:26:16PM +0100, Pav Lucistnik wrote: > > Hi, > >=20 > > recently a lot of python ports developed a leftover site.py, and > > pointyhat scripts does not like that. > >=20 > > I checked into the easy_install source, and it seems it will copy > > site.py from it's .egg subdir to PYTHON_SITELIBDIR on every install. > >=20 > > Since I don't see a way to force it to delete it on deinstall, my > > suggestion is as follows - what if we plant site.py into > > PYTHON_SITELIBDIR in py-setuptools post-install, and delete it on it's > > deinstall? >=20 > I couldn't find a neat way to force not to install the file, either. > The idea sounds good to me. py-setuptools tries to touch the file > for various purposes, it'll be quite hard to fix for every time > new usage is found. Thanks for the investigation. Here's a patch. Great; I have just tested this patch briefly, and it seems to be doing the right thing. I have just committed it. Thanks! --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Knight: We shall say Ny! again to you if you do not appease us. Arthur: All right. What do you want? Knight: We want... a shruberry! --=-Gse8ss/0tSpM9Y+CKbYU Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHQqQuntdYP8FOsoIRAulJAJ49OyF2qT6teKOo1VRd/jsetE4vwACdEHxe mQxc9HFaWeQqqIh9juPg9Sg= =s4ER -----END PGP SIGNATURE----- --=-Gse8ss/0tSpM9Y+CKbYU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1195549746.22449.29.camel>