Interface Python with pkg-config
Project description
pkgconfig is a Python module to interface with the pkg-config command line tool and supports Python 2.6+.
It can be used to
check if a package exists
>>> pkgconfig.exists('glib-2.0') Truecheck if a package meets certain version requirements
>>> pkgconfig.installed('glib-2.0', '< 2.26') Falsequery CFLAGS and LDFLAGS
>>> pkgconfig.cflags('glib-2.0') '-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include' >>> pkgconfig.libs('glib-2.0') '-lglib-2.0'
The pkgconfig module is licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pkgconfig-0.1.0.tar.gz
(3.3 kB
view details)
File details
Details for the file pkgconfig-0.1.0.tar.gz.
File metadata
- Download URL: pkgconfig-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1627af50b34b361d6f61a666628646de1b0a49397c28ec723fdf355bb9803551
|
|
| MD5 |
505f36bb83e867e74d632d3466b1f9ab
|
|
| BLAKE2b-256 |
78b5b1ca52c3a4e2847f5408d776c8e5136d79d003f50091643e12740355b62f
|