Dulwich C extensions and stand-alone Windows installation of bzr
Eli Zaretskii
eliz at gnu.org
Thu Sep 15 19:59:07 UTC 2011
> Date: Thu, 15 Sep 2011 19:36:23 +0200
> From: Jelmer Vernooij <jelmer at vernstok.nl>
> Cc: Martin Pool <mbp at canonical.com>, bialix at ukr.net,
> bazaar at lists.canonical.com
>
> > [build]
> > compiler = mingw32
>
> > This can be added either to %HOME%\pydistutils.cfg file (assuming
> > you have HOME defined) or to the Lib\distutils\distitils.cfg file
> > under the main Python installation directory. I did the former.
> > If the configuration file does not exist, create it.
>
> Is there a reason you can't just run "python setup.py install" after this, as
> the final step, perhaps specifying a different --root ?
Maybe, I didn't try that. The distutils documentation page doesn't
document this switch, and "setup.py --help" says just this:
--root install everything relative to this alternate root
directory
which of course is indecipherable for someone whose knowledge of
Python conventions is nil. And since it was just a matter of copying
3 files...
It's possible that if the Makefile mentioned this switch I would have
tried harder, though.
More information about the bazaar
mailing list