Skip to content

Commit 4f0f179

Browse files
oleksandr-pavlykGitHub Enterprise
authored andcommitted
Merge pull request #15 from SAT/fix-dirs-get
use get with default
2 parents 5a0b8d8 + d64d7b5 commit 4f0f179

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mkl-service/setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def configuration(parent_package='', top_path=None):
3535

3636
pdir = dirname(__file__)
3737
mkl_info = get_info('mkl')
38-
mkl_include_dirs = mkl_info.get('include_dirs')
39-
mkl_library_dirs = mkl_info.get('library_dirs')
38+
mkl_include_dirs = mkl_info.get('include_dirs', [])
39+
mkl_library_dirs = mkl_info.get('library_dirs', [])
4040
mkl_libraries = mkl_info.get('libraries', ['mkl_rt'])
4141

4242
try:
@@ -58,8 +58,8 @@ def configuration(parent_package='', top_path=None):
5858
library_dirs=[mkl_library_dirs],
5959
libraries=mkl_libraries,
6060
extra_compile_args=[
61-
'-DNDEBUG',
62-
'-g', '-O2', '-Wall',
61+
'-DNDEBUG'
62+
# '-g', '-O2', '-Wall',
6363
]
6464
)
6565

0 commit comments

Comments
 (0)