[Pythonmac-SIG] Is there a run-time way to tell if you're running fink, macports, etc?
Christopher Barker
Chris.Barker at noaa.gov
Thu Apr 24 00:21:23 CEST 2008
Hi all,
sys.platform returns "darwin" for all of the various python builds on
OS-X. I"d like to know if I"m running a framework build, or fink, or
macports, or whatever build -- is there a runtime way to do that?
Is looking at sys.executable the best(only?) way?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list