Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unattended install of python module .exe files

I'm looking for a way to install a bunch of python modules in .exe format like:

ipython-0.13.1.py2-win32-PROPER.exe
scipy-0.12.0b1.win32-py2.7.exe
numpy-MKL-1.7.0.win32-py2.7.exe
pywin32-218.win32-py2.7.exe

I can install other modules by installing distribute and call pip from command-line, but I want to know if I can automate installs of .exe files - so users don't have to click buttons of 'next' 'okay'.

like image 357
thkang Avatar asked Mar 18 '13 18:03

thkang


People also ask

How do I install Python silently?

To completely hide the installer UI and install Python silently, pass the /quiet option. To skip past the user interaction but still display progress and errors, pass the /passive option. The /uninstall option may be passed to immediately begin removing Python - no confirmation prompt will be displayed.

Can a Python module contain executable code?

A module can contain executable statements as well as function definitions.

How do I make a silent install executable?

If your installer is InstallShield you can use this command: setup.exe /s /v/qb for silent install with basic MSI UI or setup.exe /s /v/qn for silent installation without any UI.


1 Answers

well, this is indeed possible:

I used distribute's easy_install and everything worked like a magic.

just use easy_install [exeinstaller1] [exeinstaller2] ...

like image 91
thkang Avatar answered Sep 24 '22 11:09

thkang