This post needs to start with an apology - it’s too arrogant what I’m doing here. But at the end of the day - you are warned, and thus this has the chance to cause a little more use than harm.
First time in my life, I tried some serious shell scripting and created a set of scripts to manage PIP installations with virtual environments. At present, you could do:
- an install from scratch
- a small update within a minor version number
- a big update x.y.z => x.y.z+2
- import a database into an existing setup
They are in service in my ubuntu universe for several weeks and already turned out to be a little useful. There is some interactivity - user is asked for desired directory, versions, names etc. Dialogues are in German - forgive me. In case there is resonance on that, English versions are in the range of the possible.
You can find them here:
Tryton PIP install and management script collection
Don’t blame me for bad coding, definitively it is. Creation was learning by doing, any hint for improvement and any other comment will be very welcome.
All credits on this go to Grand Master @edbo - without his hint on PIP and his tremendous work on giving very clear inscructions how to use it, these little pieces would have been absolutely impossible.
If you want to try - obey to the holy trinity of OpenSource: