Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r98245:d4e5e044a1b2
Date: 2019-12-07 07:13 +0200
http://bitbucket.org/pypy/pypy/changeset/d4e5e044a1b2/
Log: merge default into branch
diff --git a/pypy/module/_minimal_curses/fficurses.py
b/pypy/module/_minimal_curses/fficurses.py
--- a/pypy/module/_minimal_curses/fficurses.py
+++ b/pypy/module/_minimal_curses/fficurses.py
@@ -9,12 +9,6 @@
# various versions. For example it might not list -ltinfo even though
# it's needed, or --cflags might be completely empty. Crap.
-IS_CENTOS_6_10 = False
-try:
- with open('/etc/redhat-release') as fid:
- for line in fid:
- if 'CentOS release 6.10' in line:
- IS_CENTOS_6_10 = True
except IOError:
pass
@@ -38,8 +32,6 @@
library_dirs=['/usr/lib64'])
def try_tools():
- if IS_CENTOS_6_10:
- return
try:
yield ExternalCompilationInfo.from_pkg_config("ncurses")
except Exception:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit