MCPcopy Create free account
hub / github.com/AutonomousVehicleLaboratory/SemVecNet / get_version

Function get_version

SemVecNet/mmdetection3d/setup.py:22–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def get_version():
23 with open(version_file, 'r') as f:
24 exec(compile(f.read(), version_file, 'exec'))
25 import sys
26
27 # return short version for sdist
28 if 'sdist' in sys.argv or 'bdist_wheel' in sys.argv:
29 return locals()['short_version']
30 else:
31 return locals()['__version__']
32
33
34def make_cuda_ext(name,

Callers 1

setup.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected