original_docstring: Generates a part to run the currenctly develop package
  
      This will output a part, that will make a script based on the current package
      developed, using the ``zc.recipe.egg`` recipe, to populate the environment.
      The generated part follows the following template::
  
          [<target>]
          recipe=zc.recipe.egg
          eggs=<package>
          interpreter=<interpreter>
  
      If no ``packages`` argument is given, the list only contains the reference to
      the requirements egg list, otherwise the list of packages gets appended.
      If no interpreter argument is given, the directive is ignored.
  
      Args:
          target: name to be used for the part
          interpreter: if given, setup the interpreter directive, using the name
             of a python interpreter as a string.
          packages: if given, adds that package to the list of requirements.
  
      Raises:
          TypeError: if the packages is not a list of string
  
      Returns:
          dict representation of the part
      
docstring: Generates a part to run the currenctly develop package
  This will output a part, that will make a script based on the current package
  developed, using the ``zc.recipe.egg`` recipe, to populate the environment.
  The generated part follows the following template:.
  
  
  
  If no ``packages`` argument is given, the list only contains the reference to
  the requirements egg list, otherwise the list of packages gets appended.
  If no interpreter argument is given, the directive is ignored.
docstring_tokens: Generates a part to run the currenctly develop package This will output a part that will make a script based on the current package developed using the ` ` zc . recipe . egg ` ` recipe to populate the environment . The generated part follows the following template : . If no ` ` packages ` ` argument is given the list only contains the reference to the requirements egg list otherwise the list of packages gets appended . If no interpreter argument is given the directive is ignored .
code: def build_part_target(target, packages=list(), interpreter=None):
      '''Generates a part to run the currenctly develop package
  
      This will output a part, that will make a script based on the current package
      developed, using the ``zc.recipe.egg`` recipe, to populate the environment.
      The generated part follows the following template::
  
          [<target>]
          recipe=zc.recipe.egg
          eggs=<package>
          interpreter=<interpreter>
  
      If no ``packages`` argument is given, the list only contains the reference to
      the requirements egg list, otherwise the list of packages gets appended.
      If no interpreter argument is given, the directive is ignored.
  
      Args:
          target: name to be used for the part
          interpreter: if given, setup the interpreter directive, using the name
             of a python interpreter as a string.
          packages: if given, adds that package to the list of requirements.
  
      Raises:
          TypeError: if the packages is not a list of string
  
      Returns:
          dict representation of the part
      '''
      if not isinstance(packages, list):
          raise TypeError('packages argument should be a list!')
  
      eggs = [ '${buildout:requirements-eggs}' ]
      eggs += packages
  
      part = {
          target: OrderedDict([
              ('recipe' , 'zc.recipe.egg'),
              ('eggs'   , ListBuildout(eggs)),
          ])
      }
  
      if interpreter:
          part[target].update({'interpreter': interpreter})
  
      return part
code_tokens: def build_part_target ( target , packages = list ( ) , interpreter = None ) : if not isinstance ( packages , list ) : raise TypeError ( 'packages argument should be a list!' ) eggs = [ '${buildout:requirements-eggs}' ] eggs += packages part = { target : OrderedDict ( [ ( 'recipe' , 'zc.recipe.egg' ) , ( 'eggs' , ListBuildout ( eggs ) ) , ] ) } if interpreter : part [ target ] . update ( { 'interpreter' : interpreter } ) return part
short_docstring: Generates a part to run the currenctly develop package
  This will output a part, that will make a script based on the current package
  developed, using the ``zc.recipe.egg`` recipe, to populate the environment.
short_docstring_tokens: Generates a part to run the currenctly develop package This will output a part that will make a script based on the current package developed using the ` ` zc . recipe . egg ` ` recipe to populate the environment .
comment: '''Generates a part to run the currenctly develop package
  
      This will output a part, that will make a script based on the current package
      developed, using the ``zc.recipe.egg`` recipe, to populate the environment.
      The generated part follows the following template::
  
          [<target>]
          recipe=zc.recipe.egg
          eggs=<package>
          interpreter=<interpreter>
  
      If no ``packages`` argument is given, the list only contains the reference to
      the requirements egg list, otherwise the list of packages gets appended.
      If no interpreter argument is given, the directive is ignored.
  
      Args:
          target: name to be used for the part
          interpreter: if given, setup the interpreter directive, using the name
             of a python interpreter as a string.
          packages: if given, adds that package to the list of requirements.
  
      Raises:
          TypeError: if the packages is not a list of string
  
      Returns:
          dict representation of the part
      '''