If you run writemetainfo.py, it will create a bunch of *_repy.py files in the current directory. Instead it probably makes sense to write these to a temp dir (using tempfile.mkdtemp?) and clean it up when done.
See the top of nmmain.py or softwareupdater.py to understand how to set up the repyhelper cache to a different dir.
Be sure to use shutil.rmtree to clean up the cache after finished.
If you run writemetainfo.py, it will create a bunch of *_repy.py files in the current directory. Instead it probably makes sense to write these to a temp dir (using tempfile.mkdtemp?) and clean it up when done.
See the top of nmmain.py or softwareupdater.py to understand how to set up the repyhelper cache to a different dir.
Be sure to use shutil.rmtree to clean up the cache after finished.