I found the homedirectory is not the path of drpython. And its value is may be different in different platforms, like windows and linux. My question is why not use the path of drpython. I'v installed cygwin in my machine. And the homedirectory will be different depend on whether I run cygwin. Using drpython path has another benefit that uninstall the software will more clean.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On non windows systems like unix,
it is standard practice to install prefs etc
in the home directory.
This is because the user account does not have permission to write to the root account.
So if drpython is installed as root (as it is by default when installed via an rpm or deb package),
writing to the drpython directory will not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found the homedirectory is not the path of drpython. And its value is may be different in different platforms, like windows and linux. My question is why not use the path of drpython. I'v installed cygwin in my machine. And the homedirectory will be different depend on whether I run cygwin. Using drpython path has another benefit that uninstall the software will more clean.
Simple.
On non windows systems like unix,
it is standard practice to install prefs etc
in the home directory.
This is because the user account does not have permission to write to the root account.
So if drpython is installed as root (as it is by default when installed via an rpm or deb package),
writing to the drpython directory will not work.