We have a project structure that works like this:
/project_folder (on pythonpath, not a package)
/<group> (a package folder)
/<project> (a package subfolder
/extra (on pythonpath, not a package)
<egg or package folder>
Because all our projects work the same way, it has been easy to automate things like adding the contents of /extra to sys.path, and in Emacs I run scripts that do that before using flymake to provide syntax highlighting.
What are the options for dynamically setting the environment in Pycharm? Because manually setting up the environment for each project seems like a pile of unnecessary work.
I see that Python console/Django console have startup scripts, but they seem to run _after_ the console is launched, so they have limited power in terms of path fixups. Is there any script I could hook in that runs at a lower level?