Installing Psychopy to run with an external editor

See also here: How do I get PsychoPy working in PyCharm on mac?

Bottom line is that there is some weirdness about how the standalone is put together that makes this tricky to implement, and getting it working for a class of students will probably require a lot of idiosyncratic troubleshooting. That said, if you can figure out a consistent recipe for doing it, please share!