1 2 3 4 5 6 7 8 9
#!/usr/bin/env python3 import os import shutil if 'CI' in os.environ or shutil.which('pkg-config'): print('yes') else: print('no')