From owner-freebsd-python@FreeBSD.ORG  Sat Sep 28 10:05:24 2013
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id 58C2A5D3;
 Sat, 28 Sep 2013 10:05:24 +0000 (UTC) (envelope-from mva@FreeBSD.org)
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de
 [80.67.31.94])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 119AD2154;
 Sat, 28 Sep 2013 10:05:23 +0000 (UTC)
Received: from [89.182.23.78] (helo=localhost)
 by smtprelay05.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256)
 (Exim 4.68) (envelope-from <mva@FreeBSD.org>)
 id 1VPrGU-00037M-Kd; Sat, 28 Sep 2013 11:56:43 +0200
Date: Sat, 28 Sep 2013 11:56:42 +0200
From: Marcus von Appen <mva@FreeBSD.org>
To: Olivier Duchateau <duchateau.olivier@gmail.com>,
 William Grzybowski <wg@freebsd.org>
Subject: Re: [RFC] Stage support for easy_install
Message-ID: <20130928095642.GA1401@medusa.sysfault.org>
Mail-Followup-To: Olivier Duchateau <duchateau.olivier@gmail.com>,
 William Grzybowski <wg@freebsd.org>,
 FreeBSD Ports ML <freebsd-ports@freebsd.org>,
 freebsd-python@freebsd.org
References: <20130926172158.GA17062@hub.freebsd.org>
 <CAHcdu2r=7r+Rv0CyRs_5vMgOAgZ9bwuA4FUO2d5bsdgnGDA_Hg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5"
Content-Disposition: inline
In-Reply-To: <CAHcdu2r=7r+Rv0CyRs_5vMgOAgZ9bwuA4FUO2d5bsdgnGDA_Hg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Df-Sender: MTEyNTc0Mg==
Cc: FreeBSD Ports ML <freebsd-ports@freebsd.org>, freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Marcus von Appen <mva@FreeBSD.org>
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/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: Sat, 28 Sep 2013 10:05:24 -0000


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On, Sat Sep 28, 2013, Olivier Duchateau wrote:

> 2013/9/26 William Grzybowski <wg@freebsd.org>:
> > Hi,
> >
> > I made an attempt to support stage for easy-install, you can find the p=
atch here http://people.freebsd.org/~wg/easyinstall-stage.txt
> >
> > Aprrently it works :), let me know what you think.
>
> Thanks, it works fine.
>
> I made new diff after recent change in Mk/bsd.python.mk
>
> https://people.freebsd.org/~olivierd/patches/bsd.python.mk.diff
>

Unfortunately it does not. easy_install has the tendency to create .pth
and site.py* files in the stagedir, causing leftovers that we are
currently unable to handle.

=46rom the recent discussion with some of the distutils people and
according to some bug reports to distribute and setuptools, there is
currently no guaranteed way not to break things, if we work around that
issue (there is a -m switch to easy_install, but that forces eggs to
explicitly add a requirement into their import lines).

I'm afraid to say that this might take some more time to sort out.

Cheers
Marcus

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iEYEARECAAYFAlJGp9kACgkQi68/ErJnpkdeXwCgtD75cHbOjJx5UZ6jy/8BYocu
KwcAni9dA38Vk4Ur0xJmfWg7uAa2w3Bl
=bYz7
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--