Merge branch 'hotfix/2.2.6'
Fixed resources management in setup.py
Merged hotfix branch 2.2.7