I'm planning to set up a Python app (Pyblosxom) on my server and considering to run it in its own virtualenv sandbox with --no-site-packages
. I'm hoping that such a setup would be easily portable and maintainable over the years.
However, I've only used virtualenv for development environments that recreate a certain server setup locally, and most sources about virtualenv seem to also mention virtualenv for such a use.
Is there any drawback to running a Python app from a virtualenv on a live server?
NOTE: As for the portability of the setup, I've just been made aware of the experimental --relocatable
option which needs to be ran after new package installs. Even if I didn't do this though, I guess the setup would be quite portable thanks to pip.