summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2020-09-07 15:21:02 -0600
committerTyler Reddy <tyler.je.reddy@gmail.com>2020-09-07 15:21:02 -0600
commitc830c2f76305b1a67d76a9b6ae8a7974c230ddb6 (patch)
treee6b2bb9493e9fd181ebcbd1587db7afc9d095738 /numpy/lib/function_base.py
parentc6dc7f62e61b89804ae7c0120fdfb2879e75c3fe (diff)
downloadnumpy-c830c2f76305b1a67d76a9b6ae8a7974c230ddb6.tar.gz
BUG: sysconfig attributes/distutils issue
* gh-17223 started the `distutils` modernization process because of the various upstream stuff going on (thanks) * that set of changes caused build issues with NumPy pre-release wheels + SciPy `master`: https://travis-ci.org/github/scipy/scipy/builds/725002838 * I was able to patch two separate issues and confirm that this feature branch restores the SciPy build locally: 1) in one case, `distutils.sysconfig.get_python_inc` was replaced with `distutils.get_python_inc`, which does not exist (probably a typo) 2) a bit more serious; even `sysconfig.get_python_inc` does not appear to exist; the closest match I could find (and that worked) was `sysconfig.get_path()` with options for general and platform-specific header paths as needed * I'm not claiming that these stdlib replacements are perfect either (the prefix case may still be slightly different?), but it does prevent the SciPy build break originally introduced as a start
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions