MCPcopy Create free account
hub / github.com/apache/thrift / local_libpath

Function local_libpath

test/py/util.py:28–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def local_libpath():
29 # Handle MM.mm and MMmm -> Code copied from _import_local_thrift and adapted
30 for libpath in glob.glob(os.path.join(_ROOT_DIR, 'lib', 'py', 'build', 'lib.*')):
31 for pattern in ('-%d.%d', '-%d%d'):
32 postfix = pattern % (sys.version_info[0], sys.version_info[1])
33 if libpath.endswith(postfix):
34 return libpath

Callers 3

TestClient.pyFile · 0.90
TestServer.pyFile · 0.90
mainFunction · 0.90

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected