Revert "using submodules for pypository"

This reverts commit b278655744f55ed14d56d825d6267daaa74527e3.