| Options for 'build_ext' command: |
| --build-lib (-b) directory for compiled extension modules |
| --build-temp (-t) directory for temporary files (build by-products) |
| --inplace (-i) ignore build-lib and put compiled extensions into the |
| source directory alongside your pure Python modules |
| --include-dirs (-I) list of directories to search for header files |
| --define (-D) C preprocessor macros to define |
| --undef (-U) C preprocessor macros to undefine |
n | --swig-opts list of SWIG command line options |
| [...] |
| |
| Note that an option spelled :option:`--foo-bar` on the command-line is spelled |
| :option:`foo_bar` in configuration files. |
| |
| For example, say you want your extensions to be built "in-place"---that is, you |
| have an extension :mod:`pkg.ext`, and you want the compiled extension file |
| (:file:`ext.so` on Unix, say) to be put in the same source directory as your |