1c5684bf72f042c03c2bb3e51ed333cda10de87a,setup.py,,main,#,102

Before Change


    if sys.version_info[:2] == (2, 6):
        install_requires.append("ordereddict >= 1.1")

    packages = [
        "dit",
        "dit.algorithms",
        "dit.divergences",
        "dit.esoteric",
        "dit.example_dists",
        "dit.math",
        "dit.multivariate",
        "dit.shannon",
        "dit.utils",
    ]

    // Tests
    package_data = dict(zip(packages, [["tests/*.py"]]*len(packages)))

After Change


            ["dit/math/_close.pyx"]
        )

        pycounts = Extension(
            "dit.inference.pycounts",
            ["dit/inference/pycounts.pyx", "dit/inference/counts.c"],
            include_dirs=[np.get_include()],
            libraries=["m"],
        )

        samplediscrete = Extension(
            "dit.math._samplediscrete",
            ["dit/math/_samplediscrete.pyx"],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dit/dit
Commit Name: 1c5684bf72f042c03c2bb3e51ed333cda10de87a
Time: 2014-02-23
Author: chebee7i@gmail.com
File Name: setup.py
Class Name:
Method Name: main


Project Name: mathurinm/celer
Commit Name: b8ae027d94d5eb34849d115fa9d1a4c7f94f8f0e
Time: 2018-02-23
Author: mathurin.massias@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: anttttti/Wordbatch
Commit Name: 002a1d8af816a5579619d17316811ec0479272a3
Time: 2016-09-17
Author: antti.puurula@yahoo.com
File Name: setup.py
Class Name:
Method Name: