MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / req_file

Function req_file

setup.py:34–39  ·  view source on GitHub ↗
(filename, folder="requirements")

Source from the content-addressed store, hash-verified

32
33
34def req_file(filename, folder="requirements"):
35 with open(os.path.join(folder, filename)) as f:
36 content = f.readlines()
37 # you may also want to remove whitespace characters
38 # Example: `\n` at the end of each line
39 return [x.strip() for x in content]
40
41
42# ======================= Defining the requirements var =======================

Callers 1

setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…