

def build_initializer(self):
    self.core_imports.append('init')
    properties_to_set = []
    if (not self.is_default_source_main_python):
        properties_to_set.append(('dir_source_main_python', self.dir_source_main_python))
    if (not self.is_default_source_unittest_python):
        properties_to_set.append(('dir_source_unittest_python', self.dir_source_unittest_python))
    if (not self.is_default_source_main_scripts):
        properties_to_set.append(('dir_source_main_scripts', self.dir_source_main_scripts))
    if (not self.is_default_docs):
        properties_to_set.append(('dir_docs', self.dir_docs))
    initializer_body = self._build_initializer_body_with_properties(properties_to_set)
    self.initializer = (self.INITIALIZER_HEAD + initializer_body)

dataset/ETHPy150Open pybuilder/pybuilder/src/main/python/pybuilder/scaffolding.py PythonProjectScaffolding.build_initializer/original