Open newville opened 1 year ago
First, there is no value for the HOME directory, perhaps akin to or even equivalent to
pathlib.Path().home()
oros.path.expanduser()
. I get that this can be found in other ways most of the time, but isn't that implied "but maybe not always in s a consistent manner" sort of the point here?
There's a stdlib for this, so not needed a 3rd party.
Second, there is no value for user entries to the Start Menu (roughly $HOME/.local/share/applications on Linux, or
CSIDL_PROGRAMS
on Windows, but non-existent for macOS, and I don't know about others).
PR welcome for this.
(Begginer here, sorry if this is a bad comment, I'd like to help.)
Second, there is no value for user entries to the Start Menu (roughly $HOME/.local/share/applications on Linux, or
CSIDL_PROGRAMS
on Windows, but non-existent for macOS, and I don't know about others).
Is there a way to allow certain functions of the library to only be used by some OSs? I don't think there is an equivalent folder in Android either.
From what I can read about this project, all functions it provides should return an equivalent directory in multiple different platforms. Since some platforms don't have an equivalent, this may be out of scope?
It seems to me this is beyond what's possible with the library without changing the APIs to allow None as a return value. I woudn't assume changing it this much is feasible, this would be a breaking change.
Thanks very much for this work.
I am wondering why a few locations that might be generally useful and not included.
First, there is no value for the HOME directory, perhaps akin to or even equivalent to
pathlib.Path().home()
oros.path.expanduser()
. I get that this can be found in other ways most of the time, but isn't that implied "but maybe not always in s a consistent manner" sort of the point here?Second, there is no value for user entries to the Start Menu (roughly $HOME/.local/share/applications on Linux, or
CSIDL_PROGRAMS
on Windows, but non-existent for macOS, and I don't know about others).These would both be very useful for a project of mine: https://github.com/newville/pyshortcuts. There, we sort of solve for these on Linux/macOS/Windows, but maybe those would be better supported here.
Are these omissions intentional? I didn't see a clear list of "yes, these, not those", but maybe I missed that. Would these be welcome additions or seen as distractions or perhaps difficult to support?
Apologies if these have been discussed and decided on before, or if this is the wrong forum for such a discussion.
Thanks.