Installing Python Software Packages: The Good, The Bad and the Ugly
I almost gave the following presentation at the INFORMS Annual Meeting:
That is, I was scheduled to give this talk but my session co-organizer ran over and I had to summarize these slides in 5 minutes!
Anyway, these slides describe different strategies for installing Python software. Although I am a big fan of Python software development, robust strategies for software installation remains a challenge. This talk describes several different installation scenarios:
The Good: the user has administrative privileges
The Bad: the user does not have administrative privileges
The Ugly: the user needs to install an extension package from source
While preparing these slides I realized that the vpy_install script I use for setting up virtual environments is probably of broader interest. I'll say more about this in a little bit. In the meantime, checkout the slides!
That is, I was scheduled to give this talk but my session co-organizer ran over and I had to summarize these slides in 5 minutes!
Anyway, these slides describe different strategies for installing Python software. Although I am a big fan of Python software development, robust strategies for software installation remains a challenge. This talk describes several different installation scenarios:
The Good: the user has administrative privileges
- Installing on Windows with an installer executable
- Installing with Linux application utility
- Installing a Python package from the PyPI repository
- Installing a Python package from source
The Bad: the user does not have administrative privileges
- Using a virtual environment to isolate package installations
- Using an installer executable on Windows with a virtual environment
The Ugly: the user needs to install an extension package from source
- Installing a Python extension package from source
- PyCoinInstall – Managing builds for Python extension packages
While preparing these slides I realized that the vpy_install script I use for setting up virtual environments is probably of broader interest. I'll say more about this in a little bit. In the meantime, checkout the slides!
Comments
Post a Comment