Rake is a software development tool written in Ruby (such as ant or make), and therefore all of its files are written in this language. Does something like this exist in Python?
Paver has a similar set of goals, although I really don't know how it compares.
Invoke - Fabric without SSH dependencies.
The Creative Map discusses that Fabric 1.x will be divided into three parts:
Invoke is a Python task execution tool and library (2.6+ and 3.3+) that inspires from various sources to get a powerful and clean feature set.
The following are a few descriptive statements on the Invoke website:
Invoke is a Python task execution tool and library (2.6+ and 3.3+) that inspires from various sources to get a powerful and clean feature set.As the Rubys Rake tool and calls its own predecessor, Fabric 1.x, it provides a clean, high-level API for running shell commands and defining / organizing task functions from the tasks.py file.
The shovel seems promising:
Shovel - Rake for Python
https://github.com/seomoz/shovel
Waf is a Python-based environment for customizing, compiling, and installing applications. It is based on the concepts of other building tools such as Scons, Autotools, CMake, or Ant.
Although it is more commonly used for deployment, Fabric may be of interest for this use case.
There is also a doit - I came across this when I was looking for these things some time ago, although I am not very far with its rating.
Also check out buildout that it is not so much a make system for software as a creation system for deployment.
http://pypi.python.org/pypi/pysqlite/2.5.5
So this is not the direct equivalent of rake, but it may be a better match for what you want to do, or really lousy.
There is Phantom in Boo (it's not python, but almost).
I would look at distutils :
distutils
The distutils package provides support for building and installing additional modules in a Python installation. The new modules can either be 100% pure Python, or can be extensions to modules written in C, or there can be collections of Python packages that include modules encoded in both Python and C.