site.py, .pth files and unix-dependencies
In the course of getting distutils to behave on the Mac I came across .pth files for the first time (all packages I ever tried until now used the __init__.py method of advertising themselves) and it turns out they don't work on the Mac. There's some funny code in site.py that triggers on "os.sep == '/'". I've added an "elif os.sep == ':'" for the mac-specific location where site-python is (sys.prefix + :lib:site-python), but checking for os.sep in stead of simply checking that sys.platform==posix makes me wonder whether something infinitely more deep than my understanding allows me to grasp is going on. Can someone enlighten me? Is my fix okay and should I check it in? -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++
participants (1)
-
Jack Jansen