parameters: (req)
return_statement: return False
docstring: Return True when distribute wants to override a setuptools dependency.
  
      We want to override when the requirement is setuptools and the version is
      a variant of 0.6.
docstring_summary: Return True when distribute wants to override a setuptools dependency.
docstring_tokens: Return True when distribute wants to override a setuptools dependency .
function: def _override_setuptools(req):
      """Return True when distribute wants to override a setuptools dependency.
  
      We want to override when the requirement is setuptools and the version is
      a variant of 0.6.
  
      """
      if req.project_name == 'setuptools':
          if not len(req.specs):
              # Just setuptools: ok
              return True
          for comparator, version in req.specs:
              if comparator in ['==', '>=', '>']:
                  if '0.7' in version:
                      # We want some setuptools not from the 0.6 series.
                      return False
          return True
      return False
function_tokens: def _override_setuptools ( req ) : if req . project_name == 'setuptools' : if not len ( req . specs ) : # Just setuptools: ok return True for comparator , version in req . specs : if comparator in [ '==' , '>=' , '>' ] : if '0.7' in version : # We want some setuptools not from the 0.6 series. return False return True return False