This one is perhaps a bit more interesting.
Basically, the problem is that for python builds using distutils, the build
pretty much happens entirely in the source directory, which we don't really
want to do. Unfortunately, while distutils allows you to specify the build
directory on the commandline for the "build" subcommand to setup.py, it
doesn't let you do that for the "install" subcommand, so even if you do the
build in a temporary directory, the install comes along and rebuilds
everything.
So we use one of the config files that distutils looks at and make it look
there, even though we have to set HOME to make it. A little ugly, but then
so is distutils. And it seems to work -- all the builds where setup.py.mk
is included work fine.
https://cr.opensolaris.org/action/browse/userland/dduvall/pybuild/
Thanks,
Danek
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss