summaryrefslogtreecommitdiffstats
path: root/dev-python/matplotlib/files/matplotlib-1.3.1-unbundle-pycxx.patch
blob: c27922eb11d6d589972ec66a25ada9af68e965d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/setupext.py b/setupext.py
index 7b629b6..8131bb1 100644
--- a/setupext.py
+++ b/setupext.py
@@ -674,16 +674,9 @@ class CXX(SetupPackage):
     name = 'pycxx'
 
     def check(self):
-        if sys.version_info[0] >= 3:
-            # There is no version of PyCXX in the wild that will work
-            # with Python 3.x
-            self.__class__.found_external = False
-            return ("Official versions of PyCXX are not compatible with "
-                    "Python 3.x.  Using local copy")
-
         self.__class__.found_external = True
         old_stdout = sys.stdout
-        sys.stdout = io.BytesIO()
+        #sys.stdout = io.BytesIO()
         try:
             import CXX
         except ImportError: