diff options
author | Seth Troisi <sethtroisi@google.com> | 2020-01-08 10:20:30 -0800 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2020-01-08 10:20:34 -0800 |
commit | 3142f0fb84f4fb750256bccb1ea1434180e32d4b (patch) | |
tree | 1b603743fdac569c5da5b2d9b2ccdbfa5a835487 /numpy/core/setup.py | |
parent | 3b7aac3448c9a396569d003c2ac87116859f2bc5 (diff) | |
download | numpy-3142f0fb84f4fb750256bccb1ea1434180e32d4b.tar.gz |
MAINT: Remove NPY_PY3K
After this PR NPY_PY3K should only appear in 'npy_3kcompat.h' and
'doc/Py3K.rst.txt'
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 0d383b251..e376d5a23 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -467,10 +467,6 @@ def configuration(parent_package='',top_path=None): moredefs.append('NPY_DO_NOT_OPTIMIZE_LONGLONG_right_shift') moredefs.append('NPY_DO_NOT_OPTIMIZE_ULONGLONG_right_shift') - # Py3K check - if sys.version_info[0] >= 3: - moredefs.append(('NPY_PY3K', 1)) - # Generate the config.h file from moredefs with open(target, 'w') as target_f: for d in moredefs: |