I have small Python programs that depend on several large libraries, such as:
- NumPy and SciPy
- Matplotlib
- Pyqt
- Opencv
- Pil
I would like to simplify the installation of these programs for Windows users. I currently have two options:
- either create huge executable packages with PyInstaller, py2exe or a similar tool,
- or write step-by-step installation instructions.
Executable packages are too large. I always feel that there is some kind of magic that may or may not work the next time I use another library or a new version of the library. I also don't like empty space. Manual installation is too easy to execute incorrectly, too many steps: download this version of the interpreter, download the numpy, scipy, pyqt, pil files, make sure that they are all created for the same version of python and the same platform, install it after another, download and unzip OpenCV, copy its .pyd file in depth inside Python, set the installation environment variables and asssociations files ... You see that few users will have the patience and self-confidence to do all this.
What I would like to do: distribute only a small Python source and, possibly, install a script that extracts and installs all the missing dependencies (the correct versions, the correct platform, installs them in the correct order). This is a trivial task with any Linux package manager, but I just donβt know what tools can run it on Windows. Are there simple tools that Windows installers can generate from dependency list 1 ?
1 As you may have noticed, most of the libraries I have listed are not installed using pip / easy_install, but require running your own installers and changing some files and environment variables.
source share