Jason R. Coombs committed 104e2fa

Fix for AttributeError in

  • Participants
  • Parent commits 7d647eb
  • Tags 3.9.1

Comments (0)

Files changed (1)

 	the full list as if distribute had done it, then we can skip the fixers
 	we want to exempt.
+	if not hasattr(setuptools, 'lib2to3_fixer_packages'): return
 	names = getattr(setuptools.command.build_py.build_py, 'fixer_names', None) or []
 	from lib2to3.refactor import get_fixers_from_package
 	for p in setuptools.lib2to3_fixer_packages: