pure-python mercurial

Gabor Grothendieck ggrothendieck at gmail.com
Wed Mar 4 07:02:47 CST 2009


On Wed, Mar 4, 2009 at 12:01 AM, TK Soh <teekaysoh at gmail.com> wrote:
> On Wed, Mar 4, 2009 at 1:34 AM, Matt Mackall <mpm at selenic.com> wrote:
>> On Wed, 2009-03-04 at 00:59 +0000, TK Soh wrote:
>>> I read this in the UpcomingReleaseNotes for 1.2:
>>>
>>>    "added pure-Python versions of C modules (leading to some basic hg
>>> commands running on Jython)"
>>>
>>> I wonder it means now Mercurial can do away with C compiler during
>>> installation. Appreciate if someone can share one this.
>>
>> Yes.
>
> How do I install a mercurial without the C modules using setup.py? I
> don't see changes in setup.py that's geared for pure-python
> installation. There's a changeset about adding PURE into Makefile, but
> it's not clear to me what options to pass to setup.py for this.
>
>> But you'll get significantly reduced performance. It's mostly
>> interesting for running Mercurial inside virtual machines or similar
>> hacks.
>
> It does simplify installation (via source) on Windows a bit. It's not
> trivial to get the C compile environment setup in Windows.

The R project has an all in one slick installer of various free Windows
utilities including the gnu C compiler:
  http://www.murdoch-sutherland.com/Rtools/



More information about the Mercurial mailing list