a
    BCCf=                     @   s   d dl Z d dlZd dlZd dlZd dlZdd Zedkre Zej	dde
dd e Zejsjed	n6e ejejeZe e ej Zee dS )
    Nc                 C   s0   t tjd }tjtjt|d| gdd d S )Nz_boost/include/code_gen.py-oT)check)	pathlibPath__file__parent
subprocessrunsys
executablestr)outdirZcode_gen r   U/var/www/html/django/DPS/env/lib/python3.9/site-packages/scipy/stats/_generate_pyx.py
make_boost   s    r   __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   Z
srcdir_absgetcwdZ
outdir_absr   r   r   r   <module>   s    

