Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases Call NameLoad Str ListLoad Str Str Str body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore IfExp Call NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr IfExp Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd NameLoad NameLoad body Raise Call NameLoad Str If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If Call NameLoad NameLoad NameLoad body Pass orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore BoolOpOr NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad BoolOpOr NameLoad NameLoad Call NameLoad NameLoad Call NameLoad BoolOpOr NameLoad ListLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad If CompareEq NameLoad NameLoad body Raise Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Continue orelse If Call NameLoad NameLoad Str body AugAssignAdd NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str orelse AugAssignAdd NameStore ListComp Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If NameLoad body AugAssignAdd NameStore SubscriptLoad NameLoad Index Str Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad Call NameLoad NameLoad NameLoad attr body Expr Yield NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os collections OrderedDict namedtuple hashlib sha1 N/A six twitter.common.dirutil Fileset pants.backend.jvm.targets.jvm_binary JvmBinary pants.base.build_environment get_buildroot pants.base.exceptions TargetDefinitionException pants.base.payload Payload pants.base.payload_field PayloadField PrimitiveField combine_hashes pants.base.validation assert_list pants.build_graph.target Target pants.source.wrapped_globs FilesetWithSpec pants.util.dirutil fast_relpath pants.util.memo memoized_property RelativeToMapper N/A object N/A N/A A mapper that maps filesystem paths specified relative to a base directory. __init__ N/A N/A self base N/A N/A N/A The base directory paths should be mapped from. N/A N/A self base base N/A __call__ N/A N/A self path N/A N/A N/A N/A N/A N/A os path relpath path N/A self base N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A IdentityMapper({}) format N/A self base N/A __hash__ N/A N/A self N/A N/A N/A N/A hash N/A self base N/A N/A DirectoryReMapper N/A object N/A N/A A mapper that maps files relative to a base directory into a destination directory. NonexistentBaseError N/A Exception N/A N/A N/A __init__ N/A N/A self base dest N/A N/A N/A The base directory files should be mapped from, and the dest they should be mapped to.

    :param string base: the relative path to get_buildroot()
    :param string dest: the dest path in the bundle
     N/A N/A self base N/A N/A N/A os path abspath N/A N/A N/A os path join N/A get_buildroot base N/A N/A N/A N/A N/A os path isdir N/A self base N/A N/A N/A N/A DirectoryReMapper NonexistentBaseError N/A N/A Could not find a directory to bundle relative to {0} format N/A self base N/A N/A self dest dest N/A __call__ N/A N/A self path N/A N/A N/A N/A N/A N/A os path join N/A self dest N/A N/A N/A os path relpath path N/A self base N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A DirectoryReMapper({0}, {1}) format N/A self base N/A self dest N/A N/A BundleProps N/A N/A namedtuple _BundleProps N/A rel_path mapper fileset N/A filemap N/A N/A self N/A N/A N/A filemap N/A OrderedDict N/A N/A N/A self fileset None N/A N/A paths N/A N/A isinstance N/A self fileset Fileset N/A N/A self fileset N/A N/A hasattr N/A self fileset __iter__ N/A self fileset N/A N/A self fileset N/A path paths N/A N/A abspath path N/A N/A N/A N/A N/A os path isabs abspath N/A N/A abspath N/A N/A N/A os path join N/A get_buildroot N/A self rel_path path N/A N/A filemap N/A abspath N/A N/A self mapper abspath N/A filemap N/A memoized_property __hash__ N/A N/A self N/A N/A N/A N/A hash N/A N/A self rel_path N/A self mapper N/A N/A Bundle N/A object N/A N/A A set of files to include in an application bundle.

  To learn about application bundles, see
  `bundles <JVMProjects.html#jvm-bundles>`_.
  Looking for Java-style resources accessible via the ``Class.getResource`` API?
  Those are `resources <build_dictionary.html#resources>`_.

  Files added to the bundle will be included when bundling an application target.
  By default relative paths are preserved. For example, to include ``config``
  and ``scripts`` directories: ::

    bundles=[
      bundle(fileset=[rglobs('config/*', 'scripts/*'), 'my.cfg']),
    ]

  To include files relative to some path component use the ``relative_to`` parameter.
  The following places the contents of ``common/config`` in a  ``config`` directory
  in the bundle. ::

    bundles=[
      bundle(relative_to='common', fileset=globs('common/config/*'))
    ]

   __init__ N/A N/A self parse_context N/A N/A N/A N/A self _rel_path N/A parse_context rel_path N/A __call__ N/A N/A self rel_path mapper relative_to fileset N/A None None None None N/A N/A 
    :param rel_path: Base path of the "source" file paths. By default, path of the
      BUILD file. Useful for assets that don't live in the source code repo.
    :param mapper: Function that takes a path string and returns a path string. Takes a path in
      the source tree, returns a path to use in the resulting bundle. By default, an identity
      mapper.
    :param string relative_to: Set up a simple mapping from source path to bundle path.
    :param fileset: The set of files to include in the bundle.  A string filename, or list of
      filenames, or a Fileset object (e.g. globs()).
      E.g., ``relative_to='common'`` removes that prefix from all files in the application bundle.
     N/A N/A mapper relative_to N/A N/A N/A ValueError Must specify exactly one of 'mapper' or 'relative_to' N/A N/A rel_path N/A isinstance fileset FilesetWithSpec N/A N/A N/A ValueError Must not use a glob for 'fileset' with 'rel_path'. Globs are eagerly evaluated and ignore 'rel_path'. N/A N/A isinstance fileset FilesetWithSpec N/A N/A N/A N/A N/A isinstance fileset N/A six string_types N/A N/A fileset N/A fileset N/A N/A fileset N/A assert_list fileset key_arg fileset N/A real_rel_path N/A rel_path N/A self _rel_path N/A relative_to N/A N/A base N/A N/A N/A os path join N/A get_buildroot real_rel_path relative_to N/A mapper N/A RelativeToMapper base N/A N/A mapper N/A mapper N/A RelativeToMapper N/A N/A N/A os path join N/A get_buildroot real_rel_path N/A N/A BundleProps real_rel_path mapper fileset N/A N/A BundleField N/A tuple PayloadField N/A N/A A tuple subclass that mixes in PayloadField.

  Must be initialized with an iterable of Bundle instances.
   _hash_bundle N/A N/A bundle N/A N/A N/A hasher N/A sha1 N/A N/A N/A hasher update N/A bundle rel_path N/A abs_path N/A sorted N/A N/A N/A bundle filemap keys N/A N/A buildroot_relative_path N/A N/A N/A os path relpath abs_path N/A get_buildroot N/A N/A N/A hasher update buildroot_relative_path N/A N/A N/A hasher update N/A N/A bundle filemap N/A abs_path N/A N/A N/A N/A os path isfile abs_path N/A N/A N/A N/A hasher update e N/A N/A open abs_path rb f N/A N/A N/A N/A hasher update N/A N/A f read N/A N/A N/A hasher hexdigest N/A staticmethod _compute_fingerprint N/A N/A self N/A N/A N/A N/A combine_hashes N/A map N/A BundleField _hash_bundle self N/A N/A JvmApp N/A Target N/A N/A A deployable JVM application.

  Invoking the ``bundle`` goal on one of these targets creates a
  self-contained artifact suitable for deployment on some other machine.
  The artifact contains the executable jar, its dependencies, and
  extra files like config files, startup scripts, etc.

  :API: public
   __init__ N/A N/A self name payload binary bundles basename N/A None None None None None kwargs N/A N/A 
    :param string binary: Target spec of the ``jvm_binary`` that contains the
      app main.
    :param bundles: One or more ``bundle``\s
      describing "extra files" that should be included with this app
      (e.g.: config files, startup scripts).
    :param string basename: Name of this application, if different from the
      ``name``. Optionally pants uses this in the ``bundle`` goal to name the distribution
      artifact.  Note this is unsafe because of the possible conflict when multiple bundles
      are built.
     N/A payload N/A payload N/A Payload N/A N/A N/A payload add_fields N/A basename binary bundles N/A PrimitiveField N/A basename name N/A PrimitiveField binary N/A BundleField N/A bundles N/A N/A N/A N/A N/A super JvmApp self __init__ name name payload payload kwargs N/A N/A name basename N/A N/A N/A TargetDefinitionException self basename must not equal name. N/A globs_relative_to_buildroot N/A N/A self N/A N/A N/A buildroot N/A get_buildroot N/A globs N/A N/A bundle N/A self bundles N/A N/A fileset N/A bundle fileset N/A N/A fileset None N/A N/A N/A N/A N/A hasattr fileset filespec N/A N/A globs N/A N/A N/A bundle fileset filespec N/A globs N/A N/A globs N/A N/A fast_relpath f buildroot N/A f N/A N/A N/A bundle filemap keys N/A super_globs N/A N/A N/A super JvmApp self globs_relative_to_buildroot N/A super_globs N/A N/A globs N/A super_globs N/A globs N/A N/A globs globs N/A traversable_dependency_specs N/A N/A self N/A N/A N/A spec N/A N/A super JvmApp self traversable_dependency_specs N/A N/A N/A spec N/A N/A N/A self payload binary N/A N/A N/A N/A N/A self payload binary N/A property basename N/A N/A self N/A N/A N/A N/A N/A self payload basename N/A property bundles N/A N/A self N/A N/A N/A N/A N/A self payload bundles N/A property binary N/A N/A self N/A N/A N/A :returns: The JvmBinary instance this JvmApp references.
    :rtype: JvmBinary
     N/A dependencies N/A self dependencies N/A N/A N/A len dependencies 1 N/A N/A N/A TargetDefinitionException self N/A N/A A JvmApp must define exactly one JvmBinary dependency, have: {} format dependencies N/A binary N/A dependencies N/A 0 N/A N/A N/A isinstance binary JvmBinary N/A N/A N/A TargetDefinitionException self N/A N/A Expected JvmApp binary dependency to be a JvmBinary target, found {} format binary N/A binary N/A property jar_dependencies N/A N/A self N/A N/A N/A N/A N/A self binary jar_dependencies N/A property N/A