Hi there,

I've use NSIS for quite a few projects... NSIS will do it with ease. You write 
a script that gets "compiled" into a install exe and the scripting language is 
not too hard to learn. You can do it in several different ways:

1. You can include the Python installer as a file compressed into your 
installer (that is decompressed to a temp directory before being run.)
2. The Python installer could be a included along side you installer and run as 
needed
3. You can specify a URL to the Python install to be downloaded and installed 
(again using a temp directory.)

You can even use a mix... If an internet connection is available download it, 
if not fall back to one of the other methods. If you can come up with yet 
another method, it wouldn't be simple to write a script to handle it.  If you 
really need to you can write a dynamic link library that the final NSIS 
installer will make calls to.

If you need any more help on this subject, email me directly... Although I try 
to keep an eye on python-list, I can't guarantee a quick reply.



> Date: Thu, 10 May 2012 16:26:25 +0200
> Subject: Creating a Windows installer for Python + a set of dependencies
> From: g.rod...@gmail.com
> To: python-list@python.org
> 
> Hi all,
> I need to create an installer for Windows which should be able to
> install a specific version of the Python interpreter (2.7) plus a set
> a dependencies such as ipython, numpy, pandas, etc.
> Basically this is the same thing Active State did for their Active
> Python distribution: a single bundle including interpreter + deps.
> Not being a Windows user I'm not sure where to start with this except
> maybe looking into NSIS (could that be of any help?).
> 
> Thanks in advance,
> 
> --- Giampaolo
> http://code.google.com/p/pyftpdlib/
> http://code.google.com/p/psutil/
> http://code.google.com/p/pysendfile/
> -- 
> http://mail.python.org/mailman/listinfo/python-list
                                          
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to