Would like to help add support for python3's venv
I'd like to add support for python 3's pyvenv environment, and I've tried adding folders to the "python_virtualenv_paths" settings to no avail. Looking in line 81 of lang_integration.py, it looks as though it's looking for activate_this.py to declare the directory as a virtualenv, and venv's command is activate, not activate_this.py.
Thinking this was a simple fix, I added some code to add ./bin from any active project, but it seems there are several places that expect activate_this.py to be the file to call to run a virtualenv.
So I'm wondering if there could be an elegant way to add this as an option. As I've been typing this, a thought occurred to me that the best way to do this would be to add a new option to the python REPL menu called something like "Python - ./bin current project".
I'd appreciate it if someone weigh in on my thoughts.
Looks like this is the core portion where activate_this.py is used: https://github.com/wuub/SublimeREPL/blob/d17e8649c0d0008a364158d671ac0c7d33d0c896/config/Python/ipy_repl.py#L12-L15
Considering that venv doesn't create any such file, and instead generates a shell script (activate), the work is going to be non-trivial.