Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

godlygeek
Copy link
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

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
Member

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

@jonathanunderwood jonathanunderwood merged commit 3e49575 into python-lz4:master Oct 15, 2020
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