Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2013 02:30:49 +0100
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        William Grzybowski <william88@gmail.com>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, Veniamin Gvozdikov <vg@freebsd.org>, Marcus von Appen <mva@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, ports-committers <ports-committers@freebsd.org>
Subject:   Re: svn commit: r332287 - in head/sysutils: . py-halite py-halite/files
Message-ID:  <CAEQKd7VgzaVj74HDGQrFzkbtu==KfeA_6iO0eUszjTF4_Ys0BQ@mail.gmail.com>
In-Reply-To: <CAHtVNLOQbKb9DhTT3nOLBvcSWitC7aikKq4z%2BdQBgTHt4Keo4g@mail.gmail.com>
References:  <201310312121.r9VLLp4d066004@svn.freebsd.org> <20131031214346.GA1402@medusa.sysfault.org> <CAHtVNLOfy8yUEJSDpzR=dT-DSo=QdvEd474uvesPphL1PeMzHg@mail.gmail.com> <CAEQKd7UCWxPaFT0fmBs=-wukzW7WHaswF2wiZz3uuWAJxsHe=w@mail.gmail.com> <CAHtVNLOTs7t9PPLsE1AOz1EC0i1vs1BWpchNunBqCirqv0EWCA@mail.gmail.com> <CAEQKd7W7bMYa%2B=QsDj42QGFBjwN1HzxHs4F7a=AwGJyZKuY4mg@mail.gmail.com> <CAHtVNLOQbKb9DhTT3nOLBvcSWitC7aikKq4z%2BdQBgTHt4Keo4g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi William,

> [2013/11/1 William Grzybowski <william88@gmail.com>]
> Did you see any drawbacks with this? Or any essential difference from
> what you did?

No, I didn't. The idea is the same, but I think that it is essential
to add PYTHONUSERBASE to MAKE_ENV,
otherwise you could get an error such as

error: ***/work/stage/usr/local/lib/python2.7/site-packages (in
--site-dirs) is not on sys.path

when trying to stage.

Besides, IMO, it is also important to use those options in
PYDISTUTILS_INSTALLARGS, in particular --user, and --multi-version to
avoid that easy_install creates the file
${STAGEDIR}usr/local/lib/pythonX.Y/site-packages/easy-install.pth.

> We may come up with something and just commit it, if it works for 95%
> of the ports is good enough IMO, until setuptools implements a
> DESTDIR.

I think so, and IMO it not hard to merge both solutions and put them
in <bsd.python.mk> if they were to operate.

--
Nicola Vitale



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEQKd7VgzaVj74HDGQrFzkbtu==KfeA_6iO0eUszjTF4_Ys0BQ>