|
|
@ -42,8 +42,7 @@ if __name__ == '__main__': |
|
|
|
print(f'{args.module} does not have a {args.entrypoint}() function, typo?') |
|
|
|
print(f'{args.module} does not have a {args.entrypoint}() function, typo?') |
|
|
|
sys.exit(1) |
|
|
|
sys.exit(1) |
|
|
|
|
|
|
|
|
|
|
|
with tempfile.TemporaryDirectory(delete=False) as tmp: |
|
|
|
with tempfile.TemporaryDirectory() as tmp: |
|
|
|
print(tmp) |
|
|
|
|
|
|
|
for directory in DIRS: |
|
|
|
for directory in DIRS: |
|
|
|
shutil.copytree(BASEDIR + '/' + directory, tmp + '/' + directory, symlinks=False, dirs_exist_ok=True, copy_function=copy) |
|
|
|
shutil.copytree(BASEDIR + '/' + directory, tmp + '/' + directory, symlinks=False, dirs_exist_ok=True, copy_function=copy) |
|
|
|
entry = f'{args.module}:{args.entrypoint}' |
|
|
|
entry = f'{args.module}:{args.entrypoint}' |
|
|
|