From owner-freebsd-python@FreeBSD.ORG  Tue Nov 20 09:09:10 2007
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1D88716A419;
	Tue, 20 Nov 2007 09:09:10 +0000 (UTC) (envelope-from pav@FreeBSD.org)
Received: from nat-application.b1.lan.prg.vol.cz
	(nat-application.b1.lan.prg.vol.cz [195.122.204.152])
	by mx1.freebsd.org (Postfix) with ESMTP id 4AC1B13C461;
	Tue, 20 Nov 2007 09:09:09 +0000 (UTC) (envelope-from pav@FreeBSD.org)
Received: from pav.hide.vol.cz (localhost [127.0.0.1])
	by nat-application.b1.lan.prg.vol.cz (8.14.1/8.14.1) with ESMTP id
	lAK997gf060905; Tue, 20 Nov 2007 10:09:07 +0100 (CET)
	(envelope-from pav@FreeBSD.org)
Received: (from pav@localhost)
	by pav.hide.vol.cz (8.14.1/8.14.1/Submit) id lAK996If060575;
	Tue, 20 Nov 2007 10:09:06 +0100 (CET) (envelope-from pav@FreeBSD.org)
X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org
	using -f
From: Pav Lucistnik <pav@FreeBSD.org>
To: Hye-Shik Chang <perky@FreeBSD.org>
In-Reply-To: <20071120022208.GA35947@FreeBSD.org>
References: <1195327576.76722.6.camel@ikaros.oook.cz>
	<20071120022208.GA35947@FreeBSD.org>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="=-Gse8ss/0tSpM9Y+CKbYU"
Date: Tue, 20 Nov 2007 10:09:06 +0100
Message-Id: <1195549746.22449.29.camel@pav.hide.vol.cz>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port 
Cc: python@FreeBSD.org
Subject: Re: site.py woes
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: pav@FreeBSD.org
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2007 09:09:10 -0000


--=-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--