Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6512dbd commit 1ab29b2Copy full SHA for 1ab29b2
1 file changed
setup.py
@@ -405,7 +405,7 @@ def detect_modules(self):
405
else:
406
expat_incs = find_file('xmlparse.h', inc_dirs, [])
407
408
- if (expat_incs and
+ if (expat_incs is not None and
409
self.compiler.find_library_file(lib_dirs, 'expat')):
410
exts.append( Extension('pyexpat', ['pyexpat.c'],
411
define_macros = expat_defs,
0 commit comments