MCPcopy Create free account
hub / github.com/modelscope/ms-agent / get_version

Function get_version

setup.py:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def get_version():
20 namespace = {}
21 with open(version_file, 'r', encoding='utf-8') as f:
22 exec(compile(f.read(), version_file, 'exec'), namespace)
23 return namespace['__version__']
24
25
26def parse_requirements(fname='requirements.txt', with_version=True):

Callers 1

setup.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected