Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cjrd/self-supervised-pretraining
/ get_version
Function
get_version
OpenSelfSup/setup.py:81–84 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
79
80
81
def
get_version():
82
with
open(version_file,
'r'
)
as
f:
83
exec(compile(f.read(), version_file,
'exec'
))
84
return
locals()[
'__version__'
]
85
86
87
def
parse_requirements(fname=
'requirements.txt'
, with_version=True):
Callers
1
setup.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected