Commits

Anonymous committed 51a9d1a

Use different version of py3.2 fix from Vinay Sajip

  • Participants
  • Parent commits f64c2d5
  • Branches 0.6-maintenance
  • Tags 0.6.15

Comments (0)

Files changed (1)

File setuptools/command/easy_install.py

                             'prefix': prefix,
                             'sys_exec_prefix': exec_prefix,
                             'exec_prefix': exec_prefix,
+                            # Only python 3.2+ has abiflags
+                            'abiflags': getattr(sys, 'abiflags', ''),
                            }
 
-        try:
-            self.config_vars['abiflags'] = sys.abiflags
-        except AttributeError:
-            # Only python-3.2+ has sys.abiflags
-            self.config_vars['abiflags'] = ''
-
         if HAS_USER_SITE:
             self.config_vars['userbase'] = self.install_userbase
             self.config_vars['usersite'] = self.install_usersite