|
@@ -82,7 +82,8 @@ def is_fat_file(path):
|
|
|
|
|
|
|
|
def get_python_ext_module_dir():
|
|
def get_python_ext_module_dir():
|
|
|
import cmath
|
|
import cmath
|
|
|
- return os.path.dirname(cmath.__file__)
|
|
|
|
|
|
|
+ import inspect
|
|
|
|
|
+ return os.path.dirname(inspect.getfile(cmath))
|
|
|
|
|
|
|
|
|
|
|
|
|
if sys.platform in ('win32', 'cygwin'):
|
|
if sys.platform in ('win32', 'cygwin'):
|