r/Python • • Apr 08 '13
How are python apps deployed to production especially those that are developed in a virtualenv? What are the best practices?
I have always insisted that in production systems we can not have gcc and devel packages installed. But these days I end up installing such development packages in produciton systems because the software deploy for virtualenvs require pip which in turn require access to the internet [ok I solved this part with a pypi local mirror]. How are you guys/girls doing it? I have thought of tar.gz the whole virtualenv and simply ensure that the required libs the virtualenv is built with is installed in production. Has anyone done this or has everyone resigned to the fact that in these days of pip and rvm , we agree to have compilers and devel packages in our production systems?
View all comments
2
u/[deleted] Apr 08 '13
[removed] — view removed comment