build_tools/install_cexts.py
def parse_requirements(args):
    """
    Parse the requirements.txt to get packages' names and versions,
    then install them.
    """
    with open(args.file) as f:
        for line in f:
            char_list = line.split("==")
            if len(char_list) == 2:
                # Install package according to its name and version
                install(char_list[0].strip(), char_list[1].strip())
            else:
                sys.exit(
                    "\nName format in cext.txt is incorrect. Should be 'packageName==packageVersion'.\n"
                )

    Parse the requirements.txt to get packages' names and versions,
    then install them.
    
Parse the requirements.txt to get packages' names and versions,
then install them.
Parse the requirements . txt to get packages ' names and versions then install them .
def parse_requirements(args):
    with open(args.file) as f:
        for line in f:
            char_list = line.split("==")
            if len(char_list) == 2:
                install(char_list[0].strip(), char_list[1].strip())
            else:
                sys.exit(
                    "\nName format in cext.txt is incorrect. Should be 'packageName==packageVersion'.\n"
                )
def parse_requirements ( args ) : with open ( args . file ) as f : for line in f : char_list = line . split ( "==" ) if len ( char_list ) == 2 : install ( char_list [ 0 ] . strip ( ) , char_list [ 1 ] . strip ( ) ) else : sys . exit ( "\nName format in cext.txt is incorrect. Should be 'packageName==packageVersion'.\n" )
Parse the requirements.txt to get packages' names and versions,
then install them.
Parse the requirements . txt to get packages ' names and versions then install them .
"""
    Parse the requirements.txt to get packages' names and versions,
    then install them.
    """ # Install package according to its name and version
args