MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / make_release_tree

Method make_release_tree

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

Source from the content-addressed store, hash-verified

2009 return _sdist.run(self)
2010
2011 def make_release_tree(self, base_dir, files):
2012 root = get_root()
2013 cfg = get_config_from_root(root)
2014 _sdist.make_release_tree(self, base_dir, files)
2015 # now locate _version.py in the new base_dir directory
2016 # (remembering that it may be a hardlink) and replace it with an
2017 # updated value
2018 target_versionfile = os.path.join(base_dir, cfg.versionfile_source)
2019 print("UPDATING %s" % target_versionfile)
2020 write_to_version_file(target_versionfile, self._versioneer_generated_versions)
2021
2022 cmds["sdist"] = cmd_sdist
2023

Callers

nothing calls this directly

Calls 3

get_rootFunction · 0.85
get_config_from_rootFunction · 0.85
write_to_version_fileFunction · 0.85

Tested by

no test coverage detected