accept import path in _to_installer()