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

Method make_release_tree

versioneer.py:1982–1992  ·  view source on GitHub ↗
(self, base_dir, files)

Source from the content-addressed store, hash-verified

1980 return _sdist.run(self)
1981
1982 def make_release_tree(self, base_dir, files):
1983 root = get_root()
1984 cfg = get_config_from_root(root)
1985 _sdist.make_release_tree(self, base_dir, files)
1986 # now locate _version.py in the new base_dir directory
1987 # (remembering that it may be a hardlink) and replace it with an
1988 # updated value
1989 target_versionfile = os.path.join(base_dir, cfg.versionfile_source)
1990 print("UPDATING %s" % target_versionfile)
1991 write_to_version_file(target_versionfile,
1992 self._versioneer_generated_versions)
1993 cmds["sdist"] = cmd_sdist
1994
1995 return cmds

Callers

nothing calls this directly

Calls 4

get_rootFunction · 0.85
get_config_from_rootFunction · 0.85
write_to_version_fileFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected