Skip to content

Commit c66f7c1

Browse files
committed
Print notice when skipping unsupported extensions
This commit prints a notice in when setup.py skips an unsupported extension.
1 parent a03608f commit c66f7c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ def main_file(module):
159159

160160
def extension_file(module, canary):
161161
if ENABLE_SUPPORT_DETECTION and not hasattr(GSSAPI_LIB, canary):
162+
print('Skipping the %s extension because it '
163+
'is not supported by your GSSAPI implementation...' % module)
162164
return None
163165
else:
164166
enum_ext_path = 'gssapi/raw/_enum_extensions/ext_%s.%s' % (module,

0 commit comments

Comments
 (0)