So unless your dependences build on macOS (like in my case), everything goes out the door.
So unless your dependences build on macOS (like in my case), everything goes out the door.
I've also been following this VS Code issue on adding remote docker support for python https://github.com/Microsoft/vscode-python/issues/79#issueco...
However, if you're a hardcore vim guy then I doubt these IDEs are gonna satiate your current flow.
I commented in the issue a few weeks ago: https://github.com/Microsoft/vscode-python/issues/79#issueco....
Once that's implemented, oh man, development nirvana.
Also, I strongly dislike PyCharm. I am a vim guy by heart, but I am generally not against IDEs. VS Code is okayish. For C++ development, I really loved Visual Studio. But PyCharm just feels wrong, bloated, slow and baroque
Project
Project/venv
Project/src
And then have the whole project as a volume. Then your editor can see the same files as you have in the container.using elpy here with a native install and can use e.g. tramp for remote editing/python sessions in most cases (even across machines), but determining docker mount points to edit in-machine not so much..
I suppose one can simply map a local code directory into a runtime environment, but this also makes e.g. interacting with an in-container interpreter a bit bothersome (not so bad actually, but have to set a separate interpreter path to something like 'docker exec -it ctid python'
would like to track this down I suppose
Maybe you can use bind mounts, but I'm not sure how well that works in practice, or with eg a package with a native component.
Docker is great for dependencies like databases and queues. I find it totally unnecessary for developing python.