Bazaar 1.9 rc1 Windows installers

John Arbash Meinel john at arbash-meinel.com
Tue Nov 4 21:46:17 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:

...

> That said, I'm not seeing those libraries get copied into the
> win32_bzr.exe/lib directory (part of the build process). I see the PyQt4
> and QtCore dlls get copied, so I don't know what code is expected to
> copy them properly.
> 
> I guess I'm also not seeing paramiko get pulled into the 'library.zip'
> file, nor am I seeing the pycrypto dlls get pulled in.
> 
> I wonder if this is because I installed paramiko via "easy_install"
> which creates a .egg file, and that doesn't play nicely with py2exe.
> I'll poke around a bit.
> 
> John
> =:->
> 

So I'm seeing this error in the py2exe step:
The following modules appear to be missing
['Image', 'ImageDraw', 'ImageFont', '_curses', '_curses_panel',
'bzrlib._readdir_pyx', 'chardet', 'kerberos', 'optik', 'paramiko',
'paramiko.sftp', 'paramiko.sftp_attr', 'paramiko.sftp_client',
'paramiko.sftp_file', 'pycurl', 'pygments.formatters.TerminalFormatter',
'pygments.lexers.TextLexer', 'win32com.gen_py', 'win32com.shell']


I'm not sure what Image/ImageDraw/ImageFont are, though I would guess
they are from PIL and used by either pygments or some other library.
Either way they don't seem strictly necessary.

_curses seems like something that may not be compiled for win32.

bzrlib._readdir_pyx is not meant for win32 either.

chardet?

kerberos is an optional library for our ftp handling

optik is an old package that could be used for 'optparse', at least that
is my understanding.

paramiko -- is installed on the machine, but it seems py2exe fails to
find it in an egg. I'll try doing a more manual install.

pycurl - I was thinking to not include this, because I feel like our
urllib http handling is more robust, and certainly easier for us to
manage. If people feel strongly, I can bring this in.

pygments is imported from qbzr, and I'm guessing there is some optional
bits that aren't found. I'm not positive about that portion.

win32com.* I installed pywin32 212 from sourceforge. I don't really have
any idea if it didn't install everything or if there is something else
going on.


So it does seem like the svn portion of the install isn't copying its
needed libraries into 'svn/*' like the old installer did. I could
manually copy them into place, but I really want it to be a automatic
process (as much as possible). Perhaps Mark knows why they wouldn't get
copied over.

I'll also notice that I should have taken my own advice and changed the
name of the installer with a number for the win32 build process.

Anyway, I'll try to make another build with a few more dependencies
corrected.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkQwqkACgkQJdeBCYSNAAPIFgCeMAW06ocA0y5fZmKISBkurmxX
WA4AnjBN7owCvrNMnFKORszAlhouN2Hw
=Mv/w
-----END PGP SIGNATURE-----



More information about the bazaar mailing list