Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Using a stricter check to see if Python was installed as a framework.#1613

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
efiring merged 1 commit intomatplotlib:masterfrommdehoon:fix-for-framework-check
Jan 10, 2013

Conversation

mdehoon
Copy link
Contributor

Using a stricter check to see if Python was installed as a framework. Also, because of the recurring problems with non-framework Pythons, importing the Mac OS X backend will now fail (instead of just issuing a warning) if Python is not installed as a framework. This patch uses the WITH_NEXT_FRAMEWORK macro in pyconfig.h to determine if Python is installed as a framework. This is safer than the previous approach using CGMainDisplayID().

This is a bug fix for issue 665 (#665).

… Also, because of the recurring problems with non-framework Pythons, importing the Mac OS X backend will now fail (instead of just issuing a warning) if Python is not installed as a framework.
@asmeurer
Copy link
Contributor

I can confirm that this works as expected.

@asmeurer
Copy link
Contributor

I also checked in Python 3 non-framework (I didn't check Python 3 framework because I don't have numpy installed there and I didn't want to do it).

@mdehoon
Copy link
ContributorAuthor

Thanks. I have checked with Python 3 framework; it works as expected.

efiring added a commit that referenced this pull requestJan 10, 2013
Using a stricter check to see if Python was installed as a framework.
@efiringefiring merged commit9f74de0 intomatplotlib:masterJan 10, 2013
@anntzeranntzer mentioned this pull requestAug 13, 2018
6 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@mdehoon@asmeurer@efiring

[8]ページ先頭

©2009-2025 Movatter.jp