"blank to manually install): ")
if custom_tf and not os.path.isfile(custom_tf):
out_error("{} not found".format(custom_tf))
return
if custom_tf:
REQUIRED_PACKAGES.append(custom_tf)
return
After Change
custom_tf = os.path.realpath(os.path.expanduser(custom_tf))
if not os.path.isfile(custom_tf):
out_error("{} not found".format(custom_tf))
elif os.path.splitext(custom_tf)[1] != ".whl":
out_error("{} is not a valid pip wheel".format(custom_tf))
elif custom_tf:
REQUIRED_PACKAGES.append(custom_tf)