Path: blob/main/french/aster/files/patch-setup.py
16461 views
--- setup.py.orig 2020-10-26 15:54:27 UTC1+++ setup.py2@@ -485,12 +485,12 @@ def main():3[pythonXY, pythonXY + "m"],4paths=[pylib], prefshared=True, err=True)5cfg['PYTHON_LIBRARY'] = pylibrary6- cfg['PYTHON_LIBRARY_DIR'] = osp.dirname(pylibrary)7- pyinc = ftools.find_and_set(cfg, 'PYTHON_INCLUDE', "Python.h", typ='inc',8- paths=[osp.join(cfg['HOME_PYTHON'], 'include',9- pythonXY)],10- err=True)11- cfg['PYTHON_INCLUDE'] = osp.dirname(pyinc)12+ cfg['PYTHON_LIBRARY_DIR'] = osp.dirname(pylib)13+# pyinc = ftools.find_and_set(cfg, 'PYTHON_INCLUDE', "Python.h", typ='inc',14+# paths=[osp.join(cfg['HOME_PYTHON'], 'include',15+# pythonXY)],16+# err=True)17+# cfg['PYTHON_INCLUDE'] = osp.dirname(pyinc)18cfg['PYTHON_ALIAS'] = ''19if PY3:20py3tmpdir = tempfile.mkdtemp()212223