I have a PyCharm 1.2.1 on Windows. I have to edit different branches of the same project - somewhat heavy branches, because they live in different folders on disk - say it to be
The correct solution is not to try to work around PyCharm's logic, but rather to use the IDE features as they're designed. That means:
Then PyCharm will resolve imports correctly and generate the correct PYTHONPATH automatically when running the application from it.