문제

WHen specifying library_dirs in a Python distutils.core.Extension I get this error when trying to build:

/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'library_dirs'
  warnings.warn(msg)

Why is this? I am using Python 2.5 on Mac OS X.

도움이 되었습니까?

해결책

The error means you're not passing library_dirs to distutils.core.Extension, but to the distutils.core.setup function.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top