Dulwich C extensions and stand-alone Windows installation of bzr

John Meinel john at arbash-meinel.com
Fri Sep 9 07:10:05 UTC 2011


I think it is reasonable that if you want to *build* a package, then you
need to have the build tools, such as a compiler and standalone python. I
think pre-built packages for dulwich and bzr-git could be made without
requiring them to be part of the standard windows installer. That said,
somebody would have to do it, and so far nobody has done so.

John
=:->
On Sep 5, 2011 7:41 AM, "Eli Zaretskii" <eliz at gnu.org> wrote:
>> From: "Stephen J. Turnbull" <stephen at xemacs.org>
>> Cc: Martin Pool <mbp at canonical.com>,
>> bazaar at lists.canonical.com
>> Date: Mon, 05 Sep 2011 13:05:05 +0900
>>
>> I don't recall any traffic on python-devel regarding building Python
>> with non-MS toolchains, except for the occasional statement that it's
>> possible (maybe even supported in some sense). The PSF and Active
>> State Python installers are built with MS tools, and I would guess
>> that the great majority of Windows installs are one of those two. It
>> would be asking for trouble for Python-based projects to distribute
>> extension binaries built with third-party toolchains. I suppose there
>> are very few Python-based projects that do so, in or out of GNU.
>>
>> So your best bet is FS advocates who also use Python a lot, and c.l.py
>> is most likely where you'll find them. HTH
>
> Thanks. There are a few pages floating around that explain how to use
> MinGW, but they all describe how to tweak distutils to invoke MinGW
> rather than MSVC. That requires to have Python installed, so this is
> not what I'm looking for.
>
> This comes the closest to what I need:
>
> http://docs.python.org/extending/windows.html#using-dlls-in-practice
>
> although it uses MSVC. But "translation" to MinGW is simple. The
> example indicates that the Python include directory and import library
> are needed, even for such manual techniques...
>
> So it looks like having such extension as part of the standalone
> installer is the only practical way that doesn't require a Python
> installation.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110909/3e9cb412/attachment.html>


More information about the bazaar mailing list