def register_package(path):
    portable_popen([
        sys.executable,
        'setup.py', 'register'
    ], cwd=path).wait()
This function returns the position of the first instance of the ngram 
dataset/ETHPy150Open lektor/lektor/lektor/packages.py/register_package--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/translate/ribes_score.py/position_of_ngram