开发者

Python Extension Can't Use library_dirs

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(ms开发者_Python百科g)

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜