(dirname)
return modules
Get all modules required for Meson build MSI package
    from directories.
Get all modules required for Meson build MSI package
    from directories.
Get all modules required for Meson build MSI package from directories .
def get_all_modules_from_dir(dirname):
    '''
    Get all modules required for Meson build MSI package
    from directories.
    '''
    modname = os.path.basename(dirname)
    modules = [os.path.splitext(os.path.split(x)[1])[0] for x in glob(os.path.join(dirname, '*'))]
    modules = ['mesonbuild.' + modname + '.' + x for x in modules if not x.startswith('_')]
    return modules
def get_all_modules_from_dir ( dirname ) : modname = os . path . basename ( dirname ) modules = [ os . path . splitext ( os . path . split ( x ) [ 1 ] ) [ 0 ] for x in glob ( os . path . join ( dirname , '*' ) ) ] modules = [ 'mesonbuild.' + modname + '.' + x for x in modules if not x . startswith ( '_' ) ] return modules