Added proper detection for the instant client on Mac OS X as recommended by
Martijn Pieters.
This commit is contained in:
parent
d95d16db5f
commit
a77bc411c6
8
setup.py
8
setup.py
@ -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 = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user