pkgconfig: Python interface to pkg-config - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# pkgconfig: Python interface to pkg-config

## Description

Pkgconfig is a Python module to interface with the pkg-config command line tool.

## License

MIT License

## Upstream Contact

https://github.com/matze/pkgconfig

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

## Version Information

package-version.txt:

    1.5.5

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-pkgconfig

conda-forge

    $ conda install pkgconfig

Debian/Ubuntu

    $ sudo apt-get install python3-pkgconfig

Fedora/Redhat/CentOS

    $ sudo dnf install python3-pkgconfig

FreeBSD

    $ sudo pkg install devel/py-pkgconfig

Gentoo Linux

    $ sudo emerge dev-python/pkgconfig

MacPorts

    $ sudo port install py-pkgconfig

openSUSE

    $ sudo zypper install pkg-config

Void Linux

    $ sudo xbps-install python3-pkgconfig

See https://repology.org/project/python:pkgconfig/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.