b7663daf8b010e526abcd06a89341221e642a14d,setup.py,,extensions,#,76

Before Change


    from pybind11 import get_include as pybind_get_include
    from numpy import get_include as np_get_include
    from mdtraj import capi as mdtraj_capi
    pybind_inc = str(get_pybind_include())
    mdtraj_inc = mdtraj_capi()["include_dir"]
    mdtraj_lib = mdtraj_capi()["lib_dir"]
    lib_prefix = "lib" if sys.platform.startswith("win") else ""
    common_cflags = ["-O3", ]

After Change


def extensions():
    from Cython.Build import cythonize
    from numpy import get_include as np_get_include
    pybind_inc = os.path.join(os.path.dirname(os.path.abspath(__file__)), "ext", "pybind11", "include")
    assert os.path.exists(pybind_inc), "pybind11 headers not found at %s" % pybind_inc

    from mdtraj import capi as mdtraj_capi
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: markovmodel/PyEMMA
Commit Name: b7663daf8b010e526abcd06a89341221e642a14d
Time: 2019-05-13
Author: m.scherer@fu-berlin.de
File Name: setup.py
Class Name:
Method Name: extensions


Project Name: markovmodel/PyEMMA
Commit Name: b7663daf8b010e526abcd06a89341221e642a14d
Time: 2019-05-13
Author: m.scherer@fu-berlin.de
File Name: setup.py
Class Name:
Method Name: extensions


Project Name: regel/loudml
Commit Name: e7e01290997f66471c08848ee0a968e2526b4b9b
Time: 2019-09-29
Author: sebastien.regel@gmail.com
File Name: loudml/loudml/_version.py
Class Name:
Method Name:


Project Name: david-abel/simple_rl
Commit Name: c6c5b0310445c90e07e0f4f3c6d2a54dea41796f
Time: 2018-08-26
Author: david_abel@brown.edu
File Name: examples/reproduce_example.py
Class Name:
Method Name: main