@printing_func
def calculate_package_search_path(jvm_package_name, source_roots):
 rel_package_dir = jvm_package_name.name.replace(u'.', os_sep)
 specs = [os_path_join(srcroot, rel_package_dir) for srcroot in source_roots.srcroots]
 return PathGlobs.create_from_specs(u'', specs)

@ printing_func def calculate_package_search_path ( jvm_package_name , source_roots ) : rel_package_dir = jvm_package_name . name . replace ( u'.' , os_sep ) specs = [ os_path_join ( srcroot , rel_package_dir ) for srcroot in source_roots . srcroots ] return PathGlobs . create_from_specs ( u'' , specs )
return pathglobs to match directories where the given jvmpackagename might exist .