nangtani / blender-addon-tester

The blender addon tester is a test harness to enable pytest hook to allow addons to be tested inside a defined version of blender.
MIT License
65 stars 14 forks source link

Use tmp dir or equivalent for downloads #20

Open myselfhimself opened 4 years ago

myselfhimself commented 4 years ago

On linux, with blender-addon-tester 0.1 installed in a virtualenv, when trying to run BAT, if in my home directory, since the default download path is ../, I get a permission denied related to writing. Some sort of temp directory should be decided cross-OSes. Python does have mktemp, but such a temp directory must be redetected / reused somehow every time the script starts again... which might mean using instead home settings.