Added proper detection for the instant client on Mac OS X as recommended by

Martijn Pieters.
This commit is contained in:
Anthony Tuininga 2008-06-27 13:51:56 +00:00
parent d95d16db5f
commit a77bc411c6

View File

@ -153,6 +153,14 @@ class Distribution(distutils.dist.Distribution):
("9i", "oraclient9.dll"),
("8i", "oraclient8.dll")
]
elif sys.platform == "darwin":
subDir = "lib"
filesToCheck = [
("11g", "libclntsh.dylib.11.1"),
("10g", "libclntsh.dylib.10.1"),
("9i", "libclntsh.dylib.9.0"),
("8i", "libclient8.a")
]
else:
subDir = "lib"
filesToCheck = [