need both spa.c and spa_py.c