2014-06-27 47 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 ':') 
相關問題