svn commit: r332287 - in head/sysutils: . py-halite py-halite/files

Nicola Vitale nivit at FreeBSD.org
Fri Nov 1 01:31:33 UTC 2013


Hi William,

> [2013/11/1 William Grzybowski <william88 at 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


More information about the svn-ports-all mailing list