--- setup.py.orig 2016-11-30 00:35:21.000000000 -0700 +++ setup.py 2017-07-16 11:02:28.000000000 -0700 @@ -81,10 +81,10 @@ 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) DATA_FILES = os.environ.get("CVXOPT_DATA_FILES",[]) -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(DATA_FILES) is str: DATA_FILES = DATA_FILES.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(';'))) +if type(DATA_FILES) is str: DATA_FILES = list(filter(None,DATA_FILES.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)