MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / get_oneflow_internal_so_path

Function get_oneflow_internal_so_path

python/setup.py:91–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89
90
91def get_oneflow_internal_so_path():
92 import imp
93
94 fp, pathname, description = imp.find_module("_oneflow_internal", ["oneflow"])
95 assert os.path.isfile(pathname)
96 return os.path.relpath(pathname, "oneflow")
97
98
99package_data = {"oneflow": [get_oneflow_internal_so_path()] + include_files}

Callers 1

setup.pyFile · 0.85

Calls 1

find_moduleMethod · 0.80

Tested by

no test coverage detected