cythongen was erroneously pointing at rc.package rather than rc.packagedir