modified setup script for automatic checking of LingPy import