Dulwich C extensions and stand-alone Windows installation of bzr

Eli Zaretskii eliz at gnu.org
Wed Sep 14 03:03:16 UTC 2011


> Date: Tue, 13 Sep 2011 22:35:55 +0300
> From: Alexander Belchenko <bialix at ukr.net>
> CC: Martin Pool <mbp at canonical.com>, bazaar at lists.canonical.com
> 
> 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).

Jelmer suggested (off-list) to use this:

  python -c "import dulwich._pack"

and it does not error out.




More information about the bazaar mailing list