Skip to content

setup.py: Use pkgconfig.parse()#204

Merged
jonathanunderwood merged 2 commits into
python-lz4:masterfrom
godlygeek:pkgconfig_parse
Oct 15, 2020
Merged

setup.py: Use pkgconfig.parse()#204
jonathanunderwood merged 2 commits into
python-lz4:masterfrom
godlygeek:pkgconfig_parse

Conversation

@godlygeek
Copy link
Copy Markdown
Contributor

Follow up from #203 (comment) to use pkgconfig.parse() instead of calling pkgconfig.cflags() and pkgconfig.libs() directly. The first commit is just some refactoring to make this easier, and the second commit switches the pkgconfig method that's used.

This commit doesn't change the behavior at all, but sets things up to
make it easier to integrate with pkgconfig.parse() in a future commit.
Rather than using pkgconfig.libs() and pkgconfig.cflags() directly, use
pkgconfig.parse(), which returns a dictionary suitable for passing as
keyword arguments to the Extension constructor.
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 12, 2020

Codecov Report

Merging #204 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   86.55%   86.55%           
=======================================
  Files           4        4           
  Lines         238      238           
=======================================
  Hits          206      206           
  Misses         32       32           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18cd97d...d4ce0de. Read the comment docs.

@jonathanunderwood
Copy link
Copy Markdown
Member

Thank you very much for this, your time and effort is very much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants