2014-06-27 46 views

回答

2

我找到了解决办法就应该是这样的

python setup.py build_ext --inplace --library-dirs=lib_dir1;lib_dir2 --include-dirs=inc_dir1;inc_dir2 
0

setup.py帮助告诉,你可以指定分隔多个值 “:”

缩短输出:

$ python setup.py build_ext --help 
Common commands: (see '--help-commands' for more) 

    setup.py build  will build the package underneath 'build/' 
    setup.py install will install the package 

Options for 'build_ext' command: 
    --include-dirs (-I) list of directories to search for header files 
         (separated by ':') 
相关问题