On Windows OS, /tmp/ folder does not exist and may be considered as
relative path
To fix this we want to use os.tmpdir() to point to the OS specified
path for temp files
This modification change the macOS behavior as the used folder for
storing token is not /tmp/ anymore but
/var/folders/<SOME_UNIQUE_PATH>/T/ which is the per-user temporary
folder (see https://magnusviri.com/what-is-var-folders.html)
Fixes: #74
This PR also adds some securities in code to check that folders exist
This PR also improves project documentation and tooling
On Windows OS,
/tmp/
folder does not exist and may be considered as relative pathTo fix this we want to use
os.tmpdir()
to point to the OS specified path for temp filesThis modification change the macOS behavior as the used folder for storing token is not
/tmp/
anymore but/var/folders/<SOME_UNIQUE_PATH>/T/
which is the per-user temporary folder (see https://magnusviri.com/what-is-var-folders.html)Fixes: #74
This PR also adds some securities in code to check that folders exist
This PR also improves project documentation and tooling