summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorAlexander Shadchin <alexandr.shadchin@gmail.com>2017-03-06 03:55:24 +0300
committerCharles Harris <charlesr.harris@gmail.com>2017-03-05 17:55:24 -0700
commit15ed7aff158b1c64a336856007fc746b6805801c (patch)
treea2296ec3d210d3d7830c9dea4a61b6b9a6797914 /numpy/core/setup.py
parent15325328b0cee99543ce015ad90aad7ceddca4b6 (diff)
downloadnumpy-15ed7aff158b1c64a336856007fc746b6805801c.tar.gz
MAINT: Remove files and constants only needed for Bento. (#8744)
* BLD: Remove unused _numpyconfig.h.in That file was needed for the bento build, for which support was removed in numpy 1.11.0 * BLD: Remove unused PYTHON_HAS_UNICODE_WIDE The need for variable also went away for Bento.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 891ba2a19..5bc2eec95 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -59,8 +59,6 @@ class CallOnceOnly(object):
out = copy.deepcopy(pickle.loads(self._check_complex))
return out
-PYTHON_HAS_UNICODE_WIDE = True
-
def pythonlib_dir():
"""return path where libpython* is."""
if sys.platform == 'win32':
@@ -437,12 +435,6 @@ def configuration(parent_package='',top_path=None):
# Inline check
inline = config_cmd.check_inline()
- # Check whether we need our own wide character support
- if not config_cmd.check_decl('Py_UNICODE_WIDE', headers=['Python.h']):
- PYTHON_HAS_UNICODE_WIDE = True
- else:
- PYTHON_HAS_UNICODE_WIDE = False
-
if NPY_RELAXED_STRIDES_CHECKING:
moredefs.append(('NPY_RELAXED_STRIDES_CHECKING', 1))
@@ -777,7 +769,6 @@ def configuration(parent_package='',top_path=None):
join('include', 'numpy', 'numpyconfig.h'),
join('include', 'numpy', 'ndarraytypes.h'),
join('include', 'numpy', 'npy_1_7_deprecated_api.h'),
- join('include', 'numpy', '_numpyconfig.h.in'),
# add library sources as distuils does not consider libraries
# dependencies
] + npysort_sources + npymath_sources