02b1345a9b521639f8966f35b6103fcdecdb8f91,setup.py,,,#,9

Before Change


    f = open("MANIFEST.in").read()
    if "lingpy2" in f:
        out = open("MANIFEST.in","w")
        out.write(f.replace("lingpy2","lingpy"))
        out.close()

After Change


    run3to3()

    // import lingpy from lingpy_build folder
    sys.path = ["lingpy_build/"] + sys.path
    from lingpy import *
    
else:
    // make a specific directory for lingpy2
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: lingpy/lingpy
Commit Name: 02b1345a9b521639f8966f35b6103fcdecdb8f91
Time: 2013-09-16
Author: mattis.list@posteo.de
File Name: setup.py
Class Name:
Method Name:


Project Name: pgmpy/pgmpy
Commit Name: e93a72751aee10eb9128060e8f884163c9221b66
Time: 2015-11-07
Author: utkarsh.gupta550@gmail.com
File Name: pgmpy/readwrite/BIF.py
Class Name: BifReader
Method Name: get_variables_info


Project Name: cve-search/cve-search
Commit Name: 0c11680229ec321925d9b244a72ea5e06a7c7a6f
Time: 2013-03-30
Author: a@foo.be
File Name: search_fulltext.py
Class Name:
Method Name: