MCPcopy
hub / github.com/pyinstaller/pyinstaller / init_dirs

Method init_dirs

bootloader/waflib/Build.py:93–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 raise Errors.WafError('Missing configuration file %r, reconfigure the project!' % f)
92
93 def init_dirs(self):
94 if not (os.path.isabs(self.top_dir) and os.path.isabs(self.out_dir)):
95 raise Errors.WafError('The project was not configured: run "waf configure" first!')
96 self.path = self.srcnode = self.root.find_dir(self.top_dir)
97 self.bldnode = self.root.make_node(self.variant_dir)
98 self.bldnode.mkdir()
99
100 def execute(self):
101 self.restore()

Callers 2

restoreMethod · 0.95
runMethod · 0.95

Calls 3

find_dirMethod · 0.80
make_nodeMethod · 0.80
mkdirMethod · 0.80

Tested by

no test coverage detected