MCPcopy
hub / github.com/pex-tool/pex / metadata_dir_name

Function metadata_dir_name

tests/test_dist_metadata.py:314–319  ·  view source on GitHub ↗
(project_name_and_version)

Source from the content-addressed store, hash-verified

312 )
313
314 def metadata_dir_name(project_name_and_version):
315 # type: (str) -> str
316 return "{project_name_and_version}.{metadata_type}".format(
317 project_name_and_version=project_name_and_version,
318 metadata_type="dist-info" if metadata_type is MetadataType.DIST_INFO else "egg-info",
319 )
320
321 metadata_file_name = "METADATA" if metadata_type is MetadataType.DIST_INFO else "PKG-INFO"
322

Callers 2

test_find_dist_info_fileFunction · 0.85
write_pkg_info_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected