Danek Duvall wrote:

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

I've updated this a little:

    https://cr.opensolaris.org/action/browse/userland/dduvall/pybuild-2/

It now fixes rdiff-backup to pull bits from the new directories, and it
tweaks the ordering of some of the environment variables, solving some
weird problem I had in one component.

Thanks,
Danek
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to