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

Method run

versioneer.py:1909–1927  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1907
1908 class cmd_py2exe(_py2exe):
1909 def run(self):
1910 root = get_root()
1911 cfg = get_config_from_root(root)
1912 versions = get_versions()
1913 target_versionfile = cfg.versionfile_source
1914 print("UPDATING %s" % target_versionfile)
1915 write_to_version_file(target_versionfile, versions)
1916
1917 _py2exe.run(self)
1918 os.unlink(target_versionfile)
1919 with open(cfg.versionfile_source, "w") as f:
1920 LONG = LONG_VERSION_PY[cfg.VCS]
1921 f.write(LONG %
1922 {"DOLLAR": "$",
1923 "STYLE": cfg.style,
1924 "TAG_PREFIX": cfg.tag_prefix,
1925 "PARENTDIR_PREFIX": cfg.parentdir_prefix,
1926 "VERSIONFILE_SOURCE": cfg.versionfile_source,
1927 })
1928 cmds["py2exe"] = cmd_py2exe
1929
1930 # sdist farms its file list building out to egg_info

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