Hi Hartmut,
all OS X releases up to 10.6 - I think since 10.0 - use the following
scheme, don't know about 10.7 but I doubt anything changed, so I'd
propose this:
~/Library/Caches/pyinstaller (I think this may be more appropriate for
pyinstaller's bincacheXX than ~/Library/Application Support/pyinstaller) [*]
~/Library/Logs/pyinstaller (for logdictX-X.log)
~/Library/Preferences/pyinstaller (for config.dat) [*]
[*] Apple afaik recommends using <tld>.<company>.<product> eg.
~/Library/Preferences/org.pyinstaller.pyinstaller but I think it's a bit
redundant in our case
But if the above is too fine-grained I don't think it will do any harm
if we just use ~/Library/Application Support/pyinstaller for everything
(Mozilla is using ~/Library/Application Support/Firefox for all Firefox
stuff, so we could do similar)
Am 25.04.2011 21:12, schrieb Hartmut Goebel:
Am 21.04.2011 17:29, schrieb Florian Höch:
It seems the latest trunk requires AppKit, which is part of PyObjC if
I'm not mistaken.
@other devs: Do we really want a dependency on a 3rd party module only
on OSX to determine the config directory?
On Windows we are using %APPDATA%, and on Linux $XDG_DATA_HOME. On
OSX, we could just use "~/Library/Application Support".
I see using http://pypi.python.org/pypi/appdirs was suggested in
ticket #327, which could then atleast be used for all platforms.
Thoughts?
I implemented this based on some source I found in the web. I did not
know, it's 3rd-party.
Does anyone have a reliable source on how to store configs in OSX?
--
Florian Höch
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.