#!/bin/bash

for path in $*
do
    pythonPath=`which $path`;
    pythonver=`$pythonPath -c 'import site; print(site.getusersitepackages())'`;
    if [ $? = 0 ]
    then
        if [ -d $pythonver ]
        then
            if [ -f "$pythonver/WindPy.py" ];
            then
                rm -f $pythonver/WindPy.py;
                rm -f $pythonver/WindPy.pyc;
            fi
        fi
    fi
done
