For various reasons, I built python from source. There are a number of things I might mention (meaning that I had to figure out for myself) but for now I'll post just one.
I found that I needed to 'surround' the cpython directory that one gets from mercurial with all of the following:
Volume in drive C has no label.
Volume Serial Number is 2851-B1A7
Directory of C:\Projects\python\build
11/07/2012 10:23 AM <DIR> .
11/07/2012 10:23 AM <DIR> ..
11/01/2012 05:29 PM <DIR> bzip2-1.0.6
11/03/2012 12:39 PM <DIR> cpython
11/01/2012 07:39 PM <DIR> db-220.127.116.11
11/01/2012 10:01 PM <DIR> openssl-0.9.8x
11/01/2012 05:22 PM <DIR> sqlite-3.6.21
11/02/2012 08:06 AM <DIR> tcl
11/01/2012 10:44 PM <DIR> tcltk
0 File(s) 0 bytes
10 Dir(s) 189,960,413,184 bytes free
As you see from the above I've built on Windows (7) and it was the python 2.7.3 branch that I pulled from mercurial.
The build leaves you with a directory bdist_wininst
. This is the directory that one should be able to build an install kit from but even having looked extensively around the web, it's not clear to me how to build it? And I'd prefer a .zip over a .msi
Various places say you should do something like
python setup.py bdist_wininst
however I don't find a setup.py that corresponds.
Posted on the #python-dev IRC channel several days ago - no response.