Dulwich C extensions and stand-alone Windows installation of bzr

Alexander Belchenko bialix at ukr.net
Tue Sep 13 19:35:55 UTC 2011


13.09.2011 18:54, Eli Zaretskii пишет:
>> From: Martin Pool <mbp at canonical.com>
>> Date: Mon, 12 Sep 2011 18:16:25 +1000
>> Cc: Eli Zaretskii <eliz at gnu.org>, andrew at bemusement.org, bazaar at lists.canonical.com
>>
>> I think what you can do is:
>>
>>  * install Python
>>  * build the extension using that Python and gcc
>>  * see if the gcc-built version actually loads into python (eg 'python
>> -c "import dulwich.whatever"')
>                      ^^^^^^^^
> Can you or someone else please tell what that "whatever" part might
> be, and how do I use this command to verify that the extensions indeed
> load into python?

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

> 
> Also, which bzr-git commands are expected to gain performance due to
> the extensions, and what kind of speedup I should expect?
> 
> I think I succeeded to build the extensions using the above
> instructions (I will report the details in a separate message when I'm
> done testing), but I have difficulty convincing myself that the
> extensions are indeed used and work.  So I need help in that
> department, please.
> 
> TIA
> 
> 




More information about the bazaar mailing list