[pygtk] win64 all-in-one build?
Antoine Martin
antoine at nagafix.co.uk
Thu Mar 31 01:41:15 WST 2011
Hi,
I thought I would try to build the installer myself, and whilst I was at
it why not try a 64-bit build?
First, it complained about missing WiX, I found version 3.5 here:
http://wix.codeplex.com/
(maybe you should add a link to the README and mention which versions
are meant to work - if not all)
Second, it wasn't really clear where I was meant to get xmllint from
once it complained about that, after a failed attempt (xmllint.exe from
googlecode) I ended up downloading a bunch of ZIP files from:
ftp://ftp.zlatkovic.com/libxml/
And sticking the contents of the bin/ folder in C:\WINDOWS (for
simplicity). You may want to add a link and brief explanation to the README.
Then the build stopped complaining about that, but asked me to specify
the moduleset, looking at the source and looking at the list of
"PLATFORMS", I figured that I needed to use:
build_installer.py 2.23.1.win64
Again, you may want to add one or two lines of text to explain what the
options are (or how to find that out)
What about building 2.22.1? Where can I find the module file for that?
Finally, here is the build error I stopped at (added a bit of debug to
try to figure out what filename/URL it was bailing out on):
* Creating .msi installer targeting Python 2.6
* Cleaning build environment...
* Preparing build environment...
* Preparing feature "PythonExtensionModules"...
* Preparing source package "pygtk"
* Preparing build environment...
* Fetching package sources...
* Downloading package sources from filename= URL=/...
Traceback (most recent call last):
File "build_installer.py", line 1001, in <module>
main()
File "build_installer.py", line 992, in main
builder.build()
File "build_installer.py", line 259, in build
product.merge()
File "build_installer.py", line 284, in merge
self.do_build()
File "build_installer.py", line 323, in do_build
self.build_feature(feature)
File "build_installer.py", line 328, in build_feature
self.build_feature(child)
File "build_installer.py", line 335, in build_feature
sourcepackage.merge()
File "build_installer.py", line 543, in merge
self.do_fetch()
File "build_installer.py", line 564, in do_fetch
response = urlopen(url)
File "C:\Python27\lib\urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 384, in open
protocol = req.get_type()
File "C:\Python27\lib\urllib2.py", line 245, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /
I have no idea why it is targetting Python 2.6, I've got Python 2.7.1
installed... I tried tweaking the constants at the top of the file, but
that didn't help.
Apologies if this is all covered somewhere else - I couldn't find it.
Thanks
Antoine
More information about the pygtk
mailing list