B @`@sdZddlZddlZddlZddlmZmZmZddl Z ddl Z ddl m Z eeee jddZddZejjed d ejjd d ejd ed dZddZdS)z\ Test scripts Test that we can run executable scripts that have been installed with numpy. N)joinisfiledirname) assert_equalz..zsetup.pycCsztjdkrBttj}|dr.tj|dgStj|ddgSn4tj}t |j }t |j }dd|d|d|gSdS)Nwin32ZScriptsZf2py.) sysplatformr executableendswithospathr version_infostrmajorminor)exe_dirversionrrrs