[issue28207] Use pkg-config to find dependencies

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28207] Use pkg-config to find dependencies

2016-09-30 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- nosy: +xdegaye ___ Python tracker ___ ___ Python-bugs-list

[issue28207] Use pkg-config to find dependencies

2016-09-27 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Thanks Kubilay I got it. Note to myself: gdb uses lots --with-foo-{include,lib}. -- ___ Python tracker ___

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Kubilay Kocak
Kubilay Kocak added the comment: This (adding support for pkg-config) should be done in tandem with adding --with-foo-{include,library} arguments for each *external* dependency, which can be used for: libffi, readline, libintl, openssl, sqlite, db*, among others. Values obtained from

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Yes pkg-config is not ubiquitous. My idea is using it as a fallback, so that non-standard paths can be picked up easily. > Note the bootstrap issue with that idea though; you'll need to make sure > _posixsubprocess is built before importing subprocess.

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Ned Deily
Ned Deily added the comment: Any solution using pkg-config would need to take into account that pkg-config may not be available (by default) on platforms we support; for example, AFAIK, Apple does not ship pkg-config in the base OS or any of its developer tools. And the solution would need

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Zachary Ware
Zachary Ware added the comment: Note the bootstrap issue with that idea though; you'll need to make sure _posixsubprocess is built before importing subprocess. -- ___ Python tracker

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Christian Heimes
Christian Heimes added the comment: Simple implementation idea: * add a pkg_config option to Extension() * run subprocess.call(["pkg-config", self.pkg_config, "--exists"]) * if return value is 0, extend self.extra_compile_args with ["pkg-config", self.pkg_config, "--cflags"] and

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Chi Hsuan Yen
Changes by Chi Hsuan Yen : -- type: behavior -> enhancement ___ Python tracker ___ ___

[issue28207] Use pkg-config to find dependencies

2016-09-26 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Thanks. I'll give it a try. -- ___ Python tracker ___ ___ Python-bugs-list

[issue28207] Use pkg-config to find dependencies

2016-09-25 Thread Zachary Ware
Zachary Ware added the comment: I don't have any philosophical opposition to using pkg-config, but it would be nice to avoid making configure/Makefile/setup.py any more complex than they already are. If you can somehow simplify those files (without breaking anything) by using pkg-config, I'd