MCPcopy Create free account
hub / github.com/InternScience/SciReason / get_version

Function get_version

setup.py:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99
100def get_version():
101 version_file = 'opencompass/__init__.py'
102 with open(version_file, 'r', encoding='utf-8') as f:
103 exec(compile(f.read(), version_file, 'exec'))
104 return locals()['__version__']
105
106
107def do_setup():

Callers 1

do_setupFunction · 0.70

Calls 2

openFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected