How to use the pkgconfig.pkgconfig.PackageNotFoundError function in pkgconfig

To help you get started, we’ve selected a few pkgconfig examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github matze / pkgconfig / pkgconfig / pkgconfig.py View on Github external
def __init__(self, package):
        message = '%s not found' % package
        super(PackageNotFoundError, self).__init__(message)
github matze / pkgconfig / pkgconfig / pkgconfig.py View on Github external
def _raise_if_not_exists(package):
    if not exists(package):
        raise PackageNotFoundError(package)