Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"extensions")])
(opts, paths) = parser.parse_args()
if len(paths) < 1:
parser.print_help()
sys.exit(1)
if opts.lib_path is None:
opts.lib_path = '.dylibs'
lib_filt_func = 'dylibs-only' if opts.dylibs_only else None
multi = len(paths) > 1
for path in paths:
if multi:
print(path)
# evaluate paths relative to the path we are working on
lib_path = os.path.join(path, opts.lib_path)
delocate_path(path, lib_path, lib_filt_func)