                    "Recommended version:      CUDA 9.0     cuDNN 7.1.3\n"
                    "CUDA: https://developer.nvidia.com/cuda-downloads\n"
                    "cuDNN: https://developer.nvidia.com/rdp/cudnn-download")
          return
  
      CUDA_VERSION = chk[13:].rstrip()
      if CUDA_VERSION:
          out_info("CUDA version: " + CUDA_VERSION)
          CUDA_PATH = chk[chk.find("=>") + 3:chk.find("targets") - 1]
  
  
 
</s> remove         REQUIRED_PACKAGES.append(custom_tf)
 </s> add         if custom_tf:
            REQUIRED_PACKAGES.append(custom_tf) </s> remove             if OS_VERSION[0] == "Linux":
                out_warning("Make sure you are using gcc-5/g++-5 "
                            "and CUDA bin/lib in path")
 </s> add  </s> remove             msg = "Installing {}".format(pkg)
 </s> add             if pkg.startswith("dlib"):
                msg = ("Compiling {}. This will take a while...\n"
                       "Please ignore the following UserWarning: "
                       "'Disabling all use of wheels...'".format(pkg))
            else:
                msg = "Installing {}".format(pkg) </s> remove     upgrade_pip()
 </s> add 
    cudavers = chk.strip().replace("libcudart.so.", "")
    CUDA_VERSION = cudavers[:cudavers.find(" ")]
                    "Recommended version:      CUDA 9.0     cuDNN 7.1.3\n"
                    "CUDA: https://developer.nvidia.com/cuda-downloads\n"
                    "cuDNN: https://developer.nvidia.com/rdp/cudnn-download")
          return
    cudavers = chk.strip().replace("libcudart.so.", "")
    CUDA_VERSION = cudavers[:cudavers.find(" ")]
    cudavers = chk.strip().replace("libcudart.so.", "")
    CUDA_VERSION = cudavers[:cudavers.find(" ")]
      if CUDA_VERSION:
          out_info("CUDA version: " + CUDA_VERSION)
          CUDA_PATH = chk[chk.find("=>") + 3:chk.find("targets") - 1]
  
  
keep keep keep keep replace replace keep keep keep keep keep
 Add gcc/g++ checks for linux. Add more informative output 
setup.py