Commits

Toshio Kuratomi  committed f64c2d5

Fix for easy_install running on python-3.2

  • Participants
  • Parent commits 5bc9469
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File setuptools/command/easy_install.py

                             'exec_prefix': exec_prefix,
                            }
 
+        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