remove type_explorer information from path

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 09:27:46 +02:00
parent 1810462989
commit cf97fd9837

View file

@ -92,7 +92,6 @@ class Path:
self.object_base_dir = os.path.join(self.out_dir, "object")
self.bin_dir = os.path.join(self.out_dir, "bin")
os.environ['__cdist_out_dir'] = self.out_dir
# List of type explorers transferred
self.type_explorers_transferred = {}
@ -116,6 +115,10 @@ class Path:
shutil.move(self.temp_dir, self.cache_dir)
def __init_env(self):
"""Setup environment"""
os.environ['__cdist_out_dir'] = self.out_dir
def __init_out_dirs(self):
"""Initialise output directory structure"""
os.mkdir(self.out_dir)