{ "info": { "author": "Matthias Vogelgesang", "author_email": "matthias.vogelgesang@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "pkgconfig\n=========\n\n.. image:: https://travis-ci.org/matze/pkgconfig.png?branch=master\n :target: https://travis-ci.org/matze/pkgconfig\n\n``pkgconfig`` is a Python module to interface with the ``pkg-config``\ncommand line tool and supports Python 2.6+ and 3.3+.\n\nIt can be used to\n\n- find all pkg-config packages ::\n\n >>> packages = pkgconfig.list_all()\n\n- check if a package exists ::\n\n >>> pkgconfig.exists('glib-2.0')\n True\n\n- check if a package meets certain version requirements ::\n\n >>> pkgconfig.installed('glib-2.0', '< 2.26')\n False\n\n- return the version ::\n >>> pkgconfig.modversion('glib-2.0')\n '2.56.3'\n\n- query CFLAGS and LDFLAGS ::\n\n >>> pkgconfig.cflags('glib-2.0')\n '-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include'\n\n >>> pkgconfig.libs('glib-2.0')\n '-lglib-2.0'\n\n- get all variables defined for a package::\n\n >>> pkgconfig.variables('glib-2.0')\n {u'exec_prefix': u'/usr'}\n\n- parse the output to build extensions with setup.py ::\n\n >>> d = pkgconfig.parse('glib-2.0 gtk+-2.0')\n >>> d['libraries']\n [u'gtk+-2.0', u'glib-2.0']\n\n The ``pkgconfig.parse`` function returns a dictonary of lists.\n The lists returned are accurate representations of the equivalent\n ``pkg-config`` call's result, both in content and order.\n\nIf ``pkg-config`` is not on the path, raises ``EnvironmentError``.\n\nThe ``pkgconfig`` module is licensed under the MIT license.\n\n\nChangelog\n---------\n\nVersion 1.5.0\n~~~~~~~~~~~~~\n\n- Use poetry instead of setuptools directly\n- Fix #42: raise exception if package is missing\n- Fix version parsing for openssl-like version numbers, fixes #32\n- Fix #31: expose --modversion\n- Fix #30: strip whitespace from variable names\n\nVersion 1.4.0\n~~~~~~~~~~~~~\n\n- Add boolean ``static`` keyword to output private libraries as well\n- Raise original ``OSError`` as well\n\nVersion 1.3.1\n~~~~~~~~~~~~~\n\n- Fix compatibility problems with Python 2.6\n\nVersion 1.3.0\n~~~~~~~~~~~~~\n\n- Add variables() API to query defined variables\n- Disable Python 3.2 and enable Python 3.5 and 3.6 tests\n- Fix #16: handle spaces of values in .pc files correctly\n\nVersion 1.2.1 and 1.2.2\n~~~~~~~~~~~~~~~~~~~~~~~\n\nBug fix releases released on December 1st and 2nd 2016.\n\n- Include the ``data`` folder in the distribution in order to run tests\n- Improve the tests\n\n\nVersion 1.2.0\n~~~~~~~~~~~~~\n\nReleased on November 30th 2016.\n\n- Potential break: switch from result set to list\n- Expose --list-all query\n- Added support for PKG_CONFIG environment variable\n\n\nVersion 1.1.0\n~~~~~~~~~~~~~\n\nReleased on November 6th 2013.\n\n- Multiple packages can now be parsed with a single call to ``.parse``.\n\n\nVersion 1.0.0\n~~~~~~~~~~~~~\n\nFirst release on September 8th 2013.\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/matze/pkgconfig", "keywords": "", "license": "MIT", "maintainer": "Matthias Vogelgesang", "maintainer_email": "matthias.vogelgesang@gmail.com", "name": "pkgconfig", "package_url": "https://pypi.org/project/pkgconfig/", "platform": "", "project_url": "https://pypi.org/project/pkgconfig/", "project_urls": { "Homepage": "https://github.com/matze/pkgconfig" }, "release_url": "https://pypi.org/project/pkgconfig/1.5.1/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "summary": "Interface Python with pkg-config", "version": "1.5.1" }, "last_serial": 5040676, "releases": { "0.0.1dev": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "505f36bb83e867e74d632d3466b1f9ab", "sha256": "1627af50b34b361d6f61a666628646de1b0a49397c28ec723fdf355bb9803551" }, "downloads": -1, "filename": "pkgconfig-0.1.0.tar.gz", "has_sig": false, "md5_digest": "505f36bb83e867e74d632d3466b1f9ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3285, "upload_time": "2013-08-12T08:03:35", "url": "https://files.pythonhosted.org/packages/78/b5/b1ca52c3a4e2847f5408d776c8e5136d79d003f50091643e12740355b62f/pkgconfig-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "bd6d9ad1943535ffd9c0f5ae7398f8bb", "sha256": "87d5dbf85c0f4c0ec22547d4c979fbecaedd35a934fec6741334a4957368ff7a" }, "downloads": -1, "filename": "pkgconfig-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bd6d9ad1943535ffd9c0f5ae7398f8bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3719, "upload_time": "2013-09-08T13:39:26", "url": "https://files.pythonhosted.org/packages/6f/0b/1d3498423cfcac1db48eca7fc867d4dba17feb76247ee06f7f46bd8b2836/pkgconfig-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "15998b487c15c5954feb79443b5a937a", "sha256": "709daaf077aa2b33bedac12706373412c3683576a43013bbaa529fc2769d80df" }, "downloads": -1, "filename": "pkgconfig-1.1.0.tar.gz", "has_sig": false, "md5_digest": "15998b487c15c5954feb79443b5a937a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3887, "upload_time": "2013-11-06T14:15:48", "url": "https://files.pythonhosted.org/packages/87/35/4af9634270c00e3411cf951b7e0ea796c262922357cfc7609a86d31f072b/pkgconfig-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "d12c10249347391ed692b42bce9f4d30", "sha256": "5818f558870695b8ac11ee3ecbaa1c87e9483f5292b35270b86b7045bc87a306" }, "downloads": -1, "filename": "pkgconfig-1.2.0.tar.gz", "has_sig": false, "md5_digest": "d12c10249347391ed692b42bce9f4d30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4834, "upload_time": "2016-11-30T13:00:31", "url": "https://files.pythonhosted.org/packages/ec/1c/70f81f8400e767277c11770ce5eb38a2d16697219d2d3d317d7a061aa02e/pkgconfig-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "5eda90e67929f5fab31d1a9cfc923d3f", "sha256": "27ffec4d496fbe3ece036ce8e46435249d583d90216b75b54695f803df259859" }, "downloads": -1, "filename": "pkgconfig-1.2.1.tar.gz", "has_sig": false, "md5_digest": "5eda90e67929f5fab31d1a9cfc923d3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5272, "upload_time": "2016-12-01T08:58:54", "url": "https://files.pythonhosted.org/packages/1f/90/4ce89b250a9fdf87a73d109a496cbe40db6032ee90550533a060e378d60d/pkgconfig-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "81a8f6ef3371831d081e03db39e09683", "sha256": "3685ba02a9b72654a764b728b559f327e1dbd7dc6ebc310a1bd429666ee202aa" }, "downloads": -1, "filename": "pkgconfig-1.2.2.tar.gz", "has_sig": false, "md5_digest": "81a8f6ef3371831d081e03db39e09683", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2016-12-02T09:35:06", "url": "https://files.pythonhosted.org/packages/9d/ba/80910bbed2b4e646a6adab4474d2e506744c260c7002a0e6b41ef8750d8d/pkgconfig-1.2.2.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "9f9b31533dad4929b53d4b0b6a152d4b", "sha256": "737910b4b6e625c191419ade914bdb78bed7f1c5359ff94f97eca2753143122f" }, "downloads": -1, "filename": "pkgconfig-1.3.0-py2.7.egg", "has_sig": false, "md5_digest": "9f9b31533dad4929b53d4b0b6a152d4b", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 8359, "upload_time": "2018-02-07T13:40:56", "url": "https://files.pythonhosted.org/packages/fe/1b/e36407744b0118efd020f0aceaa1988ad9421e8f73f1a58373d2cd42b118/pkgconfig-1.3.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7a160a039d99f2fcb1e662be84133262", "sha256": "1c848a9d8aed13cfdef9937b38d0b9a68211d0ab2944e1393a3b6405a49e687f" }, "downloads": -1, "filename": "pkgconfig-1.3.0.tar.gz", "has_sig": false, "md5_digest": "7a160a039d99f2fcb1e662be84133262", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5630, "upload_time": "2018-02-07T13:40:57", "url": "https://files.pythonhosted.org/packages/b8/f9/0930d35b5035201865118cbb79cf4d08076afad508dc33e5a78ab5c7940b/pkgconfig-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "7c64ff60705662d0ecaf7bc6c91e0e32", "sha256": "0bc77e955a5990b466b7277234a88dc6a62f1f4388ac1e95469051c82a17fd80" }, "downloads": -1, "filename": "pkgconfig-1.3.1.tar.gz", "has_sig": false, "md5_digest": "7c64ff60705662d0ecaf7bc6c91e0e32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5713, "upload_time": "2018-02-07T13:40:58", "url": "https://files.pythonhosted.org/packages/94/ea/b6cc7007afb696d6a3c7bc0e62142f083ebfbb69c07ec2001961c2bc3c50/pkgconfig-1.3.1.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "e75c498f40bcf85f0d933f8f51a6fda2", "sha256": "3eb03a6345d4916489d3433f60e6d044a21f50e1d86fb611a52fd28061582065" }, "downloads": -1, "filename": "pkgconfig-1.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e75c498f40bcf85f0d933f8f51a6fda2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*", "size": 7247, "upload_time": "2018-08-21T17:19:04", "url": "https://files.pythonhosted.org/packages/e1/8a/c205fad800317a59e8d218981a8a7a3a00ec69c7fd55eca58dd08e6b0a18/pkgconfig-1.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3a5314d7364832b26f404eae4722bbb", "sha256": "048c3b457da7b6f686b647ab10bf09e2250e4c50acfe6f215398a8b5e6fcdb52" }, "downloads": -1, "filename": "pkgconfig-1.4.0.tar.gz", "has_sig": false, "md5_digest": "f3a5314d7364832b26f404eae4722bbb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*", "size": 5915, "upload_time": "2018-08-21T17:19:05", "url": "https://files.pythonhosted.org/packages/17/b7/b6e2b5798eeadb6bfbebf6c332c8989463166769815f74d6e87ed9951f61/pkgconfig-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "9f60d09db6cdb5722638d7efe13b0da4", "sha256": "fda18de348f9f2dbcc30ddbdf30eb664bdd7d236d7730aef64b1d288e7c1bc26" }, "downloads": -1, "filename": "pkgconfig-1.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9f60d09db6cdb5722638d7efe13b0da4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 12256, "upload_time": "2019-03-30T22:15:03", "url": "https://files.pythonhosted.org/packages/c9/8a/d1569da3a485270ce714858efb1989065a4eed0187cf5e1e53ebeb52cecd/pkgconfig-1.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e4de1fcb440343b3d027771a149ca88", "sha256": "cc283fe8ff1c2bbc49c6d81a7ad33270d62459199b012147fe47a0bd9224f5c9" }, "downloads": -1, "filename": "pkgconfig-1.5.0.tar.gz", "has_sig": false, "md5_digest": "5e4de1fcb440343b3d027771a149ca88", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 5702, "upload_time": "2019-03-30T22:15:05", "url": "https://files.pythonhosted.org/packages/43/44/0eda08389fbf1c66b6c63f072bdfc043c90504a4aedb5d2bc6f9b3921db9/pkgconfig-1.5.0.tar.gz" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "b294d518882a085a9c964e65f535fabf", "sha256": "cddf2d7ecadb272178a942eb852a9dee46bda2adcc36c3416b0fef47a4ed9f38" }, "downloads": -1, "filename": "pkgconfig-1.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b294d518882a085a9c964e65f535fabf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 12195, "upload_time": "2019-04-01T19:28:27", "url": "https://files.pythonhosted.org/packages/b4/2c/bf434cb5a6590417e1d4468050ec317ea17fd6231c2a256df4646c11e588/pkgconfig-1.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f9cdb224ec0a1e59efcc7cac4b91972", "sha256": "97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f" }, "downloads": -1, "filename": "pkgconfig-1.5.1.tar.gz", "has_sig": false, "md5_digest": "9f9cdb224ec0a1e59efcc7cac4b91972", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 5611, "upload_time": "2019-04-01T19:28:29", "url": "https://files.pythonhosted.org/packages/6e/a9/ff67ef67217dfdf2aca847685fe789f82b931a6957a3deac861297585db6/pkgconfig-1.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b294d518882a085a9c964e65f535fabf", "sha256": "cddf2d7ecadb272178a942eb852a9dee46bda2adcc36c3416b0fef47a4ed9f38" }, "downloads": -1, "filename": "pkgconfig-1.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b294d518882a085a9c964e65f535fabf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 12195, "upload_time": "2019-04-01T19:28:27", "url": "https://files.pythonhosted.org/packages/b4/2c/bf434cb5a6590417e1d4468050ec317ea17fd6231c2a256df4646c11e588/pkgconfig-1.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f9cdb224ec0a1e59efcc7cac4b91972", "sha256": "97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f" }, "downloads": -1, "filename": "pkgconfig-1.5.1.tar.gz", "has_sig": false, "md5_digest": "9f9cdb224ec0a1e59efcc7cac4b91972", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*", "size": 5611, "upload_time": "2019-04-01T19:28:29", "url": "https://files.pythonhosted.org/packages/6e/a9/ff67ef67217dfdf2aca847685fe789f82b931a6957a3deac861297585db6/pkgconfig-1.5.1.tar.gz" } ] }