Dulwich C extensions and stand-alone Windows installation of bzr

John Arbash Meinel john at arbash-meinel.com
Sun Sep 4 08:33:03 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/4/2011 7:52 AM, Eli Zaretskii wrote:
> See https://bugs.launchpad.net/bzr-git/+bug/839483 for the
> background.
> 
> It turns out that there's no documented way of installing Dulwich
> with C extensions on MS-Windows where bzr was installed with the 
> stand-alone installer.  I understand that without these extensions 
> bzr-git performance "sucks".
> 
> Is it possible to have instructions for doing that manually?  I'm 
> guessing that doing so would involve compiling the *.c files that
> come with Dulwich into some kind of a DLL, is that right?  Can that
> be done with MinGW GCC (as opposed to MSVC)?  Can someone please
> show the command line for invoking the compiler, and instructions
> for where to put the DLL?
> 
> If manual compilation is impossible, or if only MSVC is supported
> for that, would it be possible to have this DLL available
> somewhere, if not bundled with the stand-alone installer?
> 
> TIA
> 

In newer versions of bzr (I think in 2.4+), IIRC we support putting
files in a 'site-packages' directory. Which will be part of the python
search path.

I don't know if it will need to be "site-packages/*.pyd" or
"site-packages/dulwich/*.pyd" (I'm guessing the latter). But you
should be able to install any plugins/modules/dependency code into
there and have Bazaar find it.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5jN78ACgkQJdeBCYSNAAOrhgCgld6MNxcz1jBm6Y3S8oavQY8M
/cMAniRLy4Td6AnFJSK4hLYj0oAbJsG7
=ijg4
-----END PGP SIGNATURE-----



More information about the bazaar mailing list