Fwd: Windows support

Mark mwatts42 at gmail.com
Sat Jun 4 22:08:18 BST 2005


Forgot to ReplyToAll
-Mark

---------- Forwarded message ----------
From: Mark <mwatts42 at gmail.com>
Date: Jun 4, 2005 2:10 PM
Subject: Re: Windows support
To: Roncaglia Julien <bazaar-ng at virtualblackfox.net>


On 6/4/05, Roncaglia Julien <bazaar-ng at virtualblackfox.net> wrote:
> > Am I doing something wrong?  Is a new tarball going to be available
> > that works on Windows?  I realize that this might have already been
> > fixed in the repository, however, I can't seem to get that code
> > without having a working copy of bzr. :(
>
> The code is :
> -------------------------------------------------------
> if hasattr(os, 'urandom'): # python 2.4 and later
>     rand_bytes = os.urandom
> else:
>     # FIXME: No good on non-Linux
>     _rand_file = file('/dev/urandom', 'rb')
>     rand_bytes = _rand_file.read
> -------------------------------------------------------
> So i assume you need python 2.4 under windows :D

Thanks!  That was the problem.  Just missed that. :(

> The developement tree have a workaround so you could also try it if you
> don't want to change your python version, you don't need a working brz
> for it, just download rsync from :
> http://footboot.net/rsync-win/rsync-win.zip
> extract it and run :
>
> rsync -av --delete bazaar-ng.org::bazaar-ng/bzr/bzr.dev .

Also thanks!

>
> You will have a bzr.dev folder who has appeared in your current folder
> with the lattest bzr
>
> If you want, i could also generate a .exe installer and send it tou you
> (setup.py make this easy)

Thank you for the offer but after your hints above, it does not appear
to be needed. :)  Everything is now working.

-Mark


-- 
-Mark




More information about the bazaar mailing list