Skip to content

Kill the PkgConfig singleton in setupext. #13663

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

Merged
merged 1 commit into from
May 29, 2019

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Mar 13, 2019

PkgConfig.setup_extension works just fine as a free-standing function.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer added the Build label Mar 13, 2019
class PkgConfig(object):
"""This is a class for communicating with pkg-config."""

def __init__(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

despite the large diff, most of the PR is just lifting all these implementations up by one indent level.

PkgConfig.setup_extension works just fine as a free-standing function.
@anntzer anntzer force-pushed the pkg-config-singleton branch from ef5d9ef to 9869c20 Compare May 27, 2019 20:01
@QuLogic QuLogic added this to the v3.2.0 milestone May 29, 2019
@QuLogic QuLogic merged commit 88384d9 into matplotlib:master May 29, 2019
@anntzer anntzer deleted the pkg-config-singleton branch May 29, 2019 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants