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
mdtraj_inc = mdtraj_capi()["include_dir"]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
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: Rostlab/nalaf
Commit Name: 7474e8d75a19598a7e158513d7019778062f00cb
Time: 2018-04-04
Author: i@juanmi.rocks
File Name: nalaf/features/dictionaries.py
Class Name: DictionaryFeatureGenerator
Method Name: construct_all_from_folder
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
Project Name: pytorch/audio
Commit Name: 9690e8e185eacc3c81b285ac9f250e07a9c3a61f
Time: 2021-01-08
Author: 855818+mthrok@users.noreply.github.com
File Name: build_tools/setup_helpers/extension.py
Class Name:
Method Name: _build_third_party