--- setup.py.orig 2019-02-05 00:10:54.000000000 -0700 +++ setup.py 2019-10-15 15:35:26.694249594 -0600 @@ -91,9 +91,9 @@ LAPACK_LIB = os.environ.get("CVXOPT_LAPACK_LIB",LAPACK_LIB) BLAS_LIB_DIR = os.environ.get("CVXOPT_BLAS_LIB_DIR",BLAS_LIB_DIR) BLAS_EXTRA_LINK_ARGS = os.environ.get("CVXOPT_BLAS_EXTRA_LINK_ARGS",BLAS_EXTRA_LINK_ARGS) -if type(BLAS_LIB) is str: BLAS_LIB = BLAS_LIB.strip().split(';') -if type(LAPACK_LIB) is str: LAPACK_LIB = LAPACK_LIB.strip().split(';') -if type(BLAS_EXTRA_LINK_ARGS) is str: BLAS_EXTRA_LINK_ARGS = BLAS_EXTRA_LINK_ARGS.strip().split(';') +if type(BLAS_LIB) is str: BLAS_LIB = list(filter(None,BLAS_LIB.strip().split(';'))) +if type(LAPACK_LIB) is str: LAPACK_LIB = list(filter(None,LAPACK_LIB.strip().split(';'))) +if type(BLAS_EXTRA_LINK_ARGS) is str: BLAS_EXTRA_LINK_ARGS = list(filter(None,BLAS_EXTRA_LINK_ARGS.strip().split(';'))) BUILD_GSL = int(os.environ.get("CVXOPT_BUILD_GSL",BUILD_GSL)) GSL_LIB_DIR = os.environ.get("CVXOPT_GSL_LIB_DIR",GSL_LIB_DIR) GSL_INC_DIR = os.environ.get("CVXOPT_GSL_INC_DIR",GSL_INC_DIR)