From c8e04e093a418473f9fa49a2580e83c68fcf6c9b Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 12 Mar 2011 06:49:03 -0800 Subject: Use different version of py3.2 fix from Vinay Sajip --HG-- branch : distribute extra : rebase_source : 9eea7c29a6f7e961ca6a39decdc2e52c828e8464 --- setuptools/command/easy_install.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 1a0ee561..20355341 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -202,14 +202,10 @@ class easy_install(Command): '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 -- cgit v1.2.1