← Back to team overview

dulwich-users team mailing list archive

Re: Pure python install

 

On Mon, Jan 25, 2010 at 2:00 PM, Jelmer Vernooij <jelmer@xxxxxxxxx> wrote:
>>
>> How to install pure-python Dulwich with easy_install? Especially
>> actual for windows.
>>
>> >python -m easy_install dulwich
>> Searching for dulwich
>> Reading http://pypi.python.org/simple/dulwich/
>> Reading http://launchpad.net/dulwich
>> Reading http://samba.org/~jelmer/dulwich
>> Best match: dulwich 0.4.1
>> Downloading http://samba.org/~jelmer/dulwich/dulwich-0.4.1.tar.gz
>> Processing dulwich-0.4.1.tar.gz
>> Running dulwich-0.4.1\setup.py -q bdist_egg --dist-dir
>> c:\users\user\appdata\local\temp\easy_install-npliz4\dulwich-0.4.1\egg-dist-tmp-uzhmmh
>> error: Setup script exited with error: Unable to find vcvarsall.bat
> You need to have Microsoft Visual C installed.

But pure Python version should not require C compiler.

>> Mercurial itself has a couple of options to do this:
>> http://mercurial.selenic.com/wiki/WindowsInstall#Building_pure_Python_alternative
> Dulwich is not part of Mercurial :-)

Oh, I need Dulwich to satisfy dependency for Hg-Git extension and
completely ignored the fact that the library can be used for anything
else. =)

In any case I made a patch that adds --pure option to setup.py to
allow installing Dulwich from source without C boosters. I do not
remember sending it to anyone, so here is it.

P.S. It would be nice too see bitbucket mirror updated more frequently.
-- 
anatoly t.

Attachment: pure.option.diff
Description: Binary data


References