Skip to content

Commit 5045ed9

Browse files
committed
fix setup.py for linter
1 parent b8584cc commit 5045ed9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ def extensions():
3737
if mkl_root:
3838
mkl_info = {
3939
"include_dirs": [join(mkl_root, "include")],
40-
"library_dirs": [join(mkl_root, "lib"), join(mkl_root, "lib", "intel64")],
40+
"library_dirs": [
41+
join(mkl_root, "lib"),
42+
join(mkl_root, "lib", "intel64"),
43+
],
4144
"libraries": ["mkl_rt"],
4245
}
4346
else:
@@ -62,7 +65,8 @@ def extensions():
6265
"mkl._mklinit",
6366
sources=[join("mkl", "_mklinitmodule.c")],
6467
include_dirs=mkl_include_dirs,
65-
libraries=mkl_libraries + (["pthread"] if os.name == "posix" else []),
68+
libraries=mkl_libraries
69+
+ (["pthread"] if os.name == "posix" else []),
6670
library_dirs=mkl_library_dirs,
6771
runtime_library_dirs=mkl_rpaths,
6872
extra_compile_args=[

0 commit comments

Comments
 (0)