diff options
author | Hugo <hugovk@users.noreply.github.com> | 2018-04-26 18:06:09 +0300 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2018-05-24 14:32:31 -0400 |
commit | 7392f01ffced3acfdef25b0b2d55cefdc6ee468a (patch) | |
tree | af16caf760ae204ba437d0aa7a6b862fc85bb0b2 /setuptools/command/build_ext.py | |
parent | e078d78a439591fd7028cf80ca0b7c12ae013d4d (diff) | |
download | external_python_setuptools-7392f01ffced3acfdef25b0b2d55cefdc6ee468a.tar.gz external_python_setuptools-7392f01ffced3acfdef25b0b2d55cefdc6ee468a.tar.bz2 external_python_setuptools-7392f01ffced3acfdef25b0b2d55cefdc6ee468a.zip |
Drop support for EOL Python 3.3
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r-- | setuptools/command/build_ext.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index ea97b37b..60a8a32f 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -112,7 +112,7 @@ class build_ext(_build_ext): and get_abi3_suffix() ) if use_abi3: - so_ext = _get_config_var_837('EXT_SUFFIX') + so_ext = get_config_var('EXT_SUFFIX') filename = filename[:-len(so_ext)] filename = filename + get_abi3_suffix() if isinstance(ext, Library): @@ -319,13 +319,3 @@ else: self.create_static_lib( objects, basename, output_dir, debug, target_lang ) - - -def _get_config_var_837(name): - """ - In https://github.com/pypa/setuptools/pull/837, we discovered - Python 3.3.0 exposes the extension suffix under the name 'SO'. - """ - if sys.version_info < (3, 3, 1): - name = 'SO' - return get_config_var(name) |