Set up the encapsulation calc in PyCharm