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

Before Change


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

After Change


    this_version = "3"
    pkg_location = "lingpy_build"
    pkgname = "lingpy"
    pkg_dir = {"":"lingpy_build"}
    run3to3()

    // import lingpy from lingpy_build folder
    sys.path = ["lingpy_build/"] + sys.path
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: interactiveaudiolab/nussl
Commit Name: 26ed98a3414ac27edd01ca8514505de8389074bb
Time: 2020-03-27
Author: prem@u.northwestern.edu
File Name: docs/conf.py
Class Name:
Method Name:


Project Name: etal/cnvkit
Commit Name: 3f923941d0c6025160491286c2d119170a6d9d59
Time: 2015-08-11
Author: eric.talevich@gmail.com
File Name: cnvlib/vary.py
Class Name:
Method Name: read_vcf