MCPcopy Create free account
hub / github.com/numpy/numpy / add_defaults

Method add_defaults

numpy/distutils/command/sdist.py:11–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9class sdist(old_sdist):
10
11 def add_defaults (self):
12 old_sdist.add_defaults(self)
13
14 dist = self.distribution
15
16 if dist.has_data_files():
17 for data in dist.data_files:
18 self.filelist.extend(get_data_files(data))
19
20 if dist.has_headers():
21 headers = []
22 for h in dist.headers:
23 if isinstance(h, str): headers.append(h)
24 else: headers.append(h[1])
25 self.filelist.extend(headers)
26
27 return

Callers

nothing calls this directly

Calls 1

get_data_filesFunction · 0.90

Tested by

no test coverage detected