Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
continue
dest = os.path.join(context.bin_path, 'cross-' + exe)
utils.make_launcher(target, dest)
# Add build-python and build-pip to the path.
for exe in os.listdir(context.build_bin_path):
target = os.path.join(context.build_bin_path, exe)
if not os.path.isfile(target) or not os.access(target, os.X_OK):
continue
dest = os.path.join(context.bin_path, 'build-' + exe)
utils.make_launcher(target, dest)
logger.info("Finishing up...")
activate = os.path.join(context.bin_path, 'activate')
with open(activate, 'w') as fp:
fp.write(dedent(F('''\
. %(context.cross_activate)s
export PATH=%(context.bin_path)s:$PATH
''', locals())))