Dulwich C extensions and stand-alone Windows installation of bzr

Martin Pool mbp at canonical.com
Wed Sep 14 05:04:44 UTC 2011


On 14 September 2011 13:03, Eli Zaretskii <eliz at gnu.org> wrote:

>> I think it will be almost impossible to do without having bzrlib
>> accessible to your python installation (most likely you'll get
>> ImportError: no module named bzrlib).

(You probably can't actually do much with it, but you ought to be able
to load the C extensions; generally speaking extension modules don't
actually import Python modules. In this case it looks like it works.)

>
> Jelmer suggested (off-list) to use this:
>
>  python -c "import dulwich._pack"
>
> and it does not error out.

That's great.  So then if you install those .pyd(?) files inside the
selfcontained bzr install, you should be in business.  (There is some
chance the compiler or Python is ABI-incompatible but it's worth a
go.)

m



More information about the bazaar mailing list