MCPcopy Create free account
hub / github.com/microsoft/debugpy / run

Method run

versioneer.py:1883–1901  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1881
1882 class cmd_build_exe(_build_exe):
1883 def run(self):
1884 root = get_root()
1885 cfg = get_config_from_root(root)
1886 versions = get_versions()
1887 target_versionfile = cfg.versionfile_source
1888 print("UPDATING %s" % target_versionfile)
1889 write_to_version_file(target_versionfile, versions)
1890
1891 _build_exe.run(self)
1892 os.unlink(target_versionfile)
1893 with open(cfg.versionfile_source, "w") as f:
1894 LONG = LONG_VERSION_PY[cfg.VCS]
1895 f.write(LONG %
1896 {"DOLLAR": "$",
1897 "STYLE": cfg.style,
1898 "TAG_PREFIX": cfg.tag_prefix,
1899 "PARENTDIR_PREFIX": cfg.parentdir_prefix,
1900 "VERSIONFILE_SOURCE": cfg.versionfile_source,
1901 })
1902 cmds["build_exe"] = cmd_build_exe
1903 del cmds["build_py"]
1904

Callers

nothing calls this directly

Calls 6

get_rootFunction · 0.85
get_config_from_rootFunction · 0.85
write_to_version_fileFunction · 0.85
get_versionsFunction · 0.70
runMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected