
    S_f=                        d dl Z d dlZd dlZd dlZd dlZd Zedk(  r ej                         Zej                  dde
d       ej                         Zej                  s ed       e j                  ej                   j#                  ej                   j%                  e                  Z e j                   ej*                               ej                  z  Z ee       yy)	    Nc                     t        j                  t              j                  dz  }t	        j
                  t        j                  t        |      d| gd       y )Nz_boost/include/code_gen.py-oT)check)	pathlibPath__file__parent
subprocessrunsys
executablestr)outdircode_gens     9lib/python3.12/site-packages/scipy/stats/_generate_pyx.py
make_boostr      s>    ||H%,,/KKHNNCNNCM4@    __main__r   z--outdirzPath to the output directory)typehelpz*A path to the output directory is required)r   r
   r   osargparser   __name__ArgumentParserparseradd_argumentr   
parse_argsargsr   
ValueErrorr   pathabspathdirnamer   
srcdir_absgetcwd
outdir_abs r   r   <module>r'      s      
 	  z$X$$&F
js;  =D;;EFF "W\\"''//"''//(2K"LM
!W\\)"))+.<
: r   