Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow python 3 version of PyCXX #3492

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
Sep 16, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clarify matplotlib/PyCXX incompatibility
  • Loading branch information
mdboom committed Sep 16, 2014
commit ef72f6da1e22e42051bc31bfed189b9ee552d803
9 changes: 6 additions & 3 deletions setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,13 @@ class CXX(SetupPackage):
def check(self):
if PY3:
# There is no version of PyCXX in the wild that will work
# with Python 3.x
# with Python 3.x and matplotlib, since they lack support
# for the buffer object.
self.__class__.found_external = False
return ("Official versions of PyCXX are not compatible with "
"Python 3.x. Using local copy")
return ("Official versions of PyCXX are not compatible "
"with matplotlib on Python 3.x, since they lack "
"support for the buffer object. Using local "
"copy")

self.__class__.found_external = True
old_stdout = sys.stdout
Expand Down