MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / __init__

Method __init__

flow-python/setup.py:49–58  ·  view source on GitHub ↗
(self,
                 target,
                 src,
                 dst,
                features=[])

Source from the content-addressed store, hash-verified

47
48class CargoExtension(Extension):
49 def __init__(self,
50 target,
51 src,
52 dst,
53 features=[]):
54 Extension.__init__(self, target, sources=[])
55 self.target = target
56 self.src = src
57 self.dst = dst
58 self.features = features
59
60 def build(self):
61 command = ['cargo', 'build', '-p', self.target]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected