2 ms·
I think you misunderstood the original comment. They seem to be using Docker in the first place because they think it will help simplify managing Python depende
by quietbritishjim 5y ago
I think you misunderstood the original comment. They seem to be using Docker in the first place because they think it will help simplify managing Python dependencies. The answer is surely that their life would be simpler if they didn't use Docker at all, and instead use venv/virtalenv on directories within their home directory. Your comment about how to use pip if you're going to use Docker doesn't apply - the best answer is not to use Docker at all (if you weren't going to anyway).
There's not point talking about pyflow or some other tool to simplify your Python dependencies until you've said me _why_ I need another tool. What's wrong with the plan I listed above (with no Docker)? If I want a new set of dependencies, I just make a new virtal env, activate it and pip install away. If I want to get rid of it, I `rm -r ~/envs/foo`. What could be simpler than that? There's just no problem to solve in the first place.
- BiteCode_dev 5y agoI actually use a similar setup as yours, but that's no the point. All my comments are in the context of the posted article, which explains why we need such a move. People don't always use this setup, whatever is the reason. You won't change that. The next best thing is to make sure if people don't, it doesn't break the world.
- quietbritishjim 5y ago> People don't always use this setup, whatever is the reason. You won't change that. You might change that if they're explicitly asking on HN what the best setup is! For those people you can just recommend to use the same simple setup as us.