Added hook for TeamCity / PyCharm.
Merge pull request #83 from rca/pycharm_fix

Added hook for TeamCity / PyCharm.