a :jg@sTddlZddlmZddlZddlmZddlmZddddZe d krPedS) N)Path) __version__) get_include)returncCst}|jddtdd|jdddd|jd dd d|}tjd dsX||jrlt d t |j rt t d dd}t | dS)Nz --versionversionzPrint the version and exit.)actionrhelpz--cflags store_truez1Compile flag needed when using the NumPy headers.)rr z--pkgconfigdirzbPrint the pkgconfig directory in which `numpy.pc` is stored (useful for setting $PKG_CONFIG_PATH).rz-Iz..lib pkgconfig)argparseArgumentParser add_argumentr parse_argssysargv print_helpcflagsprintrZ pkgconfigdirrresolve)parserargs_pathr;/usr/local/lib/python3.9/site-packages/numpy/_configtool.pymain s2r__main__) r pathlibrrrrZlib._utils_implrr__name__rrrrs