In some machines (macos, colab), the install would put the filestore in a location of the form build/bdist.*/wheel/pycortex-*.data/data/share/pycortex/db, which seems to be deleted after the install. This PR fixes this issue by changing the default location.
Fixes #335 #360
In some machines (macos, colab), the install would put the filestore in a location of the form
build/bdist.*/wheel/pycortex-*.data/data/share/pycortex/db
, which seems to be deleted after the install. This PR fixes this issue by changing the default location.Tested on my machine:
.../tomdlt/miniconda3/envs/py37/share/pycortex/db
.../tomdlt/miniconda3/envs/py37/share/pycortex/db
Tested on my machine, installing with
--user
:.../tomdlt/.local/share/pycortex/db
.../tomdlt/.local/share/pycortex/db
Tested on Colab:
build/bdist.linux-x86_64/wheel/pycortex-1.2.3.data/data/share/pycortex/db
/usr/share/pycortex/db