Message94637
| Author |
ronaldoussoren |
| Recipients |
barry, doko, fwierzbicki, georg.brandl, lemburg, michael.foord, ned.deily, pitrou, r.david.murray, ronaldoussoren, tarek |
| Date |
2009年10月28日.20:11:43 |
| SpamBayes Score |
5.434936e-08 |
| Marked as misclassified |
No |
| Message-id |
<1256760705.25.0.157505639491.issue7175@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I agree with Ned that neither ~/.local nor /etc are a good fit for OSX,
sadly enough I wasn't paying attention when ~/.local was added as python
already had a per-user directory on OSX: ~/Library/Python.
The common unix directories are often not a good pick for good OSX
citizens, even if OSX is build on Unix.
The OSX filesystem structure should be described somewhere below
<http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/
BPFileSystem/BPFileSystem.html#//apple_ref/doc/uid/10000185>, although I
haven't found a clear explanation yet.
Technically configuration files should be stored in /Library/Preferences
(system wide) or ~/Library/Preferences (per user), but I'd say
practicality beats purity here and I'd store configuration in
/Library/Python/etc or ~/Library/Python/etc.
BTW. I haven't read most of the discussion yet, I'll probably have more
to add when I do. What I did notice was a proposal to store the
distutils cfg file in ~/.local/lib/pythonX.Y/site-
packages/distutils.cfg. IMHO that way to hidden and an unexpected
location for storing configuration files. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年10月28日 20:11:45 | ronaldoussoren | set | recipients:
+ ronaldoussoren, lemburg, barry, georg.brandl, doko, pitrou, tarek, fwierzbicki, ned.deily, r.david.murray, michael.foord |
| 2009年10月28日 20:11:45 | ronaldoussoren | set | messageid: <1256760705.25.0.157505639491.issue7175@psf.upfronthosting.co.za> |
| 2009年10月28日 20:11:44 | ronaldoussoren | link | issue7175 messages |
| 2009年10月28日 20:11:43 | ronaldoussoren | create |
|