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