MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / update_setup_dot_py

Function update_setup_dot_py

tensorflow/tools/ci_build/update_version.py:200–203  ·  view source on GitHub ↗

Update setup.py.

(old_version, new_version)

Source from the content-addressed store, hash-verified

198
199
200def update_setup_dot_py(old_version, new_version):
201 """Update setup.py."""
202 replace_string_in_line("_VERSION = '%s'" % old_version.string,
203 "_VERSION = '%s'" % new_version.string, SETUP_PY)
204
205
206def update_readme(old_version, new_version):

Callers 1

mainFunction · 0.85

Calls 1

replace_string_in_lineFunction · 0.85

Tested by

no test coverage detected