471,354 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Creating the windows MSI of python

Hello

I've managed to build python2.4 and python2.5 in windows with MSVC++
7.1 fine following the instructions in the PCbuild directory. However
now I am wondering how to create the MSI from this[1], but can't find
any instructions. All I'm looking for is the equivalent of "make
install" (or "make install DESTDIR=/alternative/root").

I could just look at what files and registry settings etc the
installer creates and collect all the files manually from the build
directory, and then poor them into an MSI. But that seems a bit
dangerous for missing something and it will become a maintenance
headache on upgrades too. Isn't there some script shipped with python
that allows you to build a completely compatible distribution?

It would be great if someone knows how Python builds it's MSI.

Thanks
Floris
[1] Ok, not really. What I really want is a merge module or .msm, but
never mind that part.
Nov 28 '07 #1
2 1457
Floris Bruynooghe wrote:
It would be great if someone knows how Python builds it's MSI.
The Tools/ directory contains a script in Tools/msi/msi.py. Martin von
Lwis is using the script to generate the official MSI bundles. You need
to run it from a development shell. Good luck!

Christian

Nov 28 '07 #2
On Nov 28, 5:26 pm, Christian Heimes <li...@cheimes.dewrote:
Floris Bruynooghe wrote:
It would be great if someone knows how Python builds it's MSI.

The Tools/ directory contains a script in Tools/msi/msi.py. Martin von
Lwis is using the script to generate the official MSI bundles. You need
to run it from a development shell. Good luck!
Thanks!

Floris

Nov 28 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by pepericou | last post: by
2 posts views Thread by Ed Leafe | last post: by
2 posts views Thread by Richard Townsend | last post: by
1 post views Thread by Ankit | last post: by
7 posts views Thread by DanielJohnson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.