import sys import os import cme # thirdparty_modules = os.path.join(os.path.dirname(cme.__file__), 'thirdparty') # for module in os.listdir(thirdparty_modules): # sys.path.insert(0, os.path.join(thirdparty_modules, module))