1 import sys 2 import os 3 4 sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) 5 6 import pkg_resources 7 pkg_resources.require('Paste') 8