o
    5Bi=                     @   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rQe Zej	dde
dd e Zejs4ed	e ejejeZe e ej Zee dS 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)outdircode_gen r   Y/var/www/html/Trade-python/venv/lib/python3.10/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   
srcdir_absgetcwd
outdir_absr   r   r   r   <module>   s$    
