started resource compilation for py2 and py3.