D
Deleted member 43669
Guest
Hi,
What's your preferred way to do development environments? Assume you want to be friendly to Linux, Windows and Mac users, and that developing on a laptop should be friendly.
(My primary concern is that we are being pushed to stop using Linux on laptops. I am studying if Windows is a viable option in addition to OS X- we have developers on OS X which are happy, but we've never had devs on Windows)
We are mostly using a few techniques currently at $WORK for Python dev:
I'm slightly concerned because I'm an Eclipse user (yes, for Python!) and it's damn handy to be able to configure my virtualenvs there and get code completion, code navigation to libraries, etc. So if I'm running Eclipse on Windows and my virtualenv is on a Docker container this can get hairy...
I'm pondering just standardizing on having a Linux VM somewhere, use sshfs-like solutions to edit locally... which has other advantages (easier to switch laptops, you can snapshot/clone/etc. your dev environment, etc.).
Thoughts, ideas?
What's your preferred way to do development environments? Assume you want to be friendly to Linux, Windows and Mac users, and that developing on a laptop should be friendly.
(My primary concern is that we are being pushed to stop using Linux on laptops. I am studying if Windows is a viable option in addition to OS X- we have developers on OS X which are happy, but we've never had devs on Windows)
We are mostly using a few techniques currently at $WORK for Python dev:
- Locally installed Python + virtualenvs. This is a bit annoying because Linux distros tend to have a single major version of Python available (Debian Stable has Python 3.5, Ubuntu 18.04 and CentOS 7 have Python 3.6), so you can have some issues. However, this is perhaps the simplest and quickest- with virtualenvs you can have isolated environments and it's extremely lightweight
- Docker + bind mounts. This way you can run specific Python versions if needed easily. Using bind mounts turnaround is very quick. However, I'm concerned this will be an issue on Windows- I'm not sure if this will interact very well with WSL, for instance
- Docker for dependencies such as databases, etc. I think this is good everywhere; spinning up a PostgreSQL server is damn simple on Docker, you don't need to touch your base install, you can use any required version, etc.
I'm slightly concerned because I'm an Eclipse user (yes, for Python!) and it's damn handy to be able to configure my virtualenvs there and get code completion, code navigation to libraries, etc. So if I'm running Eclipse on Windows and my virtualenv is on a Docker container this can get hairy...
I'm pondering just standardizing on having a Linux VM somewhere, use sshfs-like solutions to edit locally... which has other advantages (easier to switch laptops, you can snapshot/clone/etc. your dev environment, etc.).
Thoughts, ideas?