from pathlib import Path
import shutil, sys
root=Path(__file__).resolve().parent
src=root/('transfer_seed' if '--transfer' in sys.argv else 'fixture_seed')/'repository'
dst=root/'work/repository'
if dst.parent.exists(): shutil.rmtree(dst.parent)
dst.parent.mkdir(parents=True,exist_ok=True)
shutil.copytree(src,dst)
print(dst)
