e50068d3c9357fbcf0652a7c410da209af5c6ec8,setup.py,,,#,36
Before Change
return pybind11.get_include(self.user)
ext_modules = [
Extension(
"brainiak.factoranalysis.tfa_extension",
["brainiak/factoranalysis/tfa_extension.cpp"],
include_dirs=[
// Path to pybind11 headers
get_pybind_include(),
get_pybind_include(user=True)
],
),
]
// As of Python 3.6, CCompiler has a `has_flag` method.
// cf http://bugs.python.org/issue26689
After Change
import pybind11
return pybind11.get_include(self.user).startswith(x)
ext_modules = [
Extension(
"brainiak.factoranalysis.tfa_extension",
["brainiak/factoranalysis/tfa_extension.cpp"],
include_dirs=[
// Path to pybind11 headers
get_pybind_include(),
get_pybind_include(user=True)
],
),
Extension(
"brainiak.fcma.fcma_extension",
["brainiak/fcma/src/fcma_extension.cc"],
include_dirs=[
// Path to pybind11 headers
get_pybind_include(),
get_pybind_include(user=True)
],
),
Extension(
"brainiak.fcma.cython_blas",
["brainiak/fcma/cython_blas.pyx"],
),
]
// As of Python 3.6, CCompiler has a `has_flag` method.
// cf http://bugs.python.org/issue26689
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: brainiak/brainiak
Commit Name: e50068d3c9357fbcf0652a7c410da209af5c6ec8
Time: 2016-09-21
Author: yidawa@gmail.com
File Name: setup.py
Class Name:
Method Name:
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: explosion/thinc
Commit Name: 27dbcdb23285ca2791f2ffcac983f500482f0b10
Time: 2014-10-20
Author: honnibal@gmail.com
File Name: setup.py
Class Name:
Method Name: