parameters: (cls, civ_group)
return_statement: return patches
docstring: Returns the patches for the civ setup which configures architecture sets
          unique units, unique techs, team boni and unique stat upgrades.
docstring_summary: Returns the patches for the civ setup which configures architecture sets
          unique units, unique techs, team boni and unique stat upgrades.
docstring_tokens: Returns the patches for the civ setup which configures architecture sets unique units unique techs team boni and unique stat upgrades .
function: def get_civ_setup(cls, civ_group):
          """
          Returns the patches for the civ setup which configures architecture sets
          unique units, unique techs, team boni and unique stat upgrades.
          """
          patches = []
  
          patches.extend(AoCCivSubprocessor.setup_unique_units(civ_group))
          patches.extend(AoCCivSubprocessor.setup_unique_techs(civ_group))
          patches.extend(AoCCivSubprocessor.setup_tech_tree(civ_group))
          patches.extend(cls.setup_civ_bonus(civ_group))
  
          if len(civ_group.get_team_bonus_effects()) > 0:
              patches.extend(DE2TechSubprocessor.get_patches(civ_group.team_bonus))
  
          return patches
function_tokens: def get_civ_setup ( cls , civ_group ) : patches = [ ] patches . extend ( AoCCivSubprocessor . setup_unique_units ( civ_group ) ) patches . extend ( AoCCivSubprocessor . setup_unique_techs ( civ_group ) ) patches . extend ( AoCCivSubprocessor . setup_tech_tree ( civ_group ) ) patches . extend ( cls . setup_civ_bonus ( civ_group ) ) if len ( civ_group . get_team_bonus_effects ( ) ) > 0 : patches . extend ( DE2TechSubprocessor . get_patches ( civ_group . team_bonus ) ) return patches