Unattended Install Of Binary Python Packages (modules) For Windows
Is there no sane way to peform a scripted install of binary python packages for windows? Unfortunately it seems like several essential windows python packages like pywin32 and py2e
Solution 1:
You can download the source code of pywin32 at sourceforge.net/projects/pywin32/files/ and then build it as MSI file yourself. Therefore you need setuptools (only for building). Use the command "setup.py bdist_msi" to create a MSI installer in the "dist" directory.
The same procedure should work for all Windows-compatible packages.
Solution 2:
Current easy_install can install the pre-build ".exe" installers silently, i.e.;
C:\Python27\Scripts\easy_install.exe pywin32-220.win32-py2.7.exe
will install pywin32.
This also enables possibility to remove using pip;
pip uninstall pywin32 -y
uninstalls pywin32
Solution 3:
As said in a linked answer you can succeed with using easy_install
if the installer was created with distutils.
Solution 4:
If you want scripted automation of installs on Windows, look into AutoIt.
Post a Comment for "Unattended Install Of Binary Python Packages (modules) For Windows"