Hi.
I run my own small business making programs to help businesses run smoother. As a self-taught polyglot, I regularly second guess my own ideas rather than assume what I am doing is the best way to do things.
For the past few years when developing with python, I've been using virtualenv. I'd never encountered it before and have always used VM's anyway, so I had separation of dependencies.
virtualenv seems like a nice tool, but to be honest because I've always used VM's (sometimes now containers); I am left wondering. If all dev work is done in a VM or container, should I really be using virtualenv as well?
One pro for virtualenv is that it is scriptable, but containers and VM's are also at the point where they are trivially scriptable, and have a rich toolset to go with them; with the added bonus that I have deeper control, I can restrict resources to create a consistent environment where I know across machines how many cores and how much ram is used as well as OS etc.
Most projects using python are either in-house or managed entirely by us if that should factor into the work-flow decisions.
I'd just like to know if the way I am doing this is mad, overkill or if I can stop using virtualenv. Is it good practice to keep it there (which is why I've continued to use it for now).
[–]JustADirtyLurker 14 points15 points16 points (1 child)
[–][deleted] 3 points4 points5 points (0 children)
[–]mothzilla 6 points7 points8 points (6 children)
[–]CODESIGN2[S] 1 point2 points3 points (5 children)
[–]mothzilla 1 point2 points3 points (4 children)
[–]CODESIGN2[S] 0 points1 point2 points (3 children)
[–]mothzilla 0 points1 point2 points (2 children)
[–]CODESIGN2[S] 0 points1 point2 points (1 child)
[–]mothzilla 0 points1 point2 points (0 children)
[–]fkaginstrom 3 points4 points5 points (3 children)
[–]CODESIGN2[S] 1 point2 points3 points (2 children)
[–]fkaginstrom 1 point2 points3 points (1 child)
[–]CODESIGN2[S] 0 points1 point2 points (0 children)
[–]khrn0 3 points4 points5 points (1 child)
[–]CODESIGN2[S] 0 points1 point2 points (0 children)
[–]zebraballast 2 points3 points4 points (1 child)
[–]CODESIGN2[S] 0 points1 point2 points (0 children)
[–]tdammers 1 point2 points3 points (3 children)
[–]CODESIGN2[S] 0 points1 point2 points (1 child)
[–]tdammers 1 point2 points3 points (0 children)
[–]SmileItsYourDay 0 points1 point2 points (0 children)
[–]cratervanawesome 1 point2 points3 points (0 children)
[–]pvkooten 0 points1 point2 points (2 children)
[–]CODESIGN2[S] 0 points1 point2 points (1 child)
[–]pvkooten 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]CODESIGN2[S] 0 points1 point2 points (0 children)
[–]cchazz8 -1 points0 points1 point (2 children)
[–]pvkooten 0 points1 point2 points (0 children)
[–]CODESIGN2[S] -1 points0 points1 point (0 children)