Is there a Rake equivalent in Python?

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?

+84
python build-automation
Sep 10 '09 at 21:29
source share
9 answers

Paver has a similar set of goals, although I really don't know how it compares.

+27
Sep 10 '09 at 21:32
source share

Invoke - Fabric without SSH dependencies.

The Creative Map discusses that Fabric 1.x will be divided into three parts:

  • Invoke - Performing a task without SSH.
  • Fabric 2.x - A remote execution and deployment library that uses Invoke .
  • Patchwork - "General deployment operations / sysadmin built on Fabric."

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.
+34
Jun 28 '13 at 19:57
source share
+14
Aug 28 '12 at 19:30
source share

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.

+6
Sep 10 '09 at 21:42
source share

Although it is more commonly used for deployment, Fabric may be of interest for this use case.

+5
Jan 02 '12 at 20:00
source share

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.

+4
Jun 23 '16 at 15:16
source share

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.

0
Sep 10 '09 at 10:00
source share

There is Phantom in Boo (it's not python, but almost).

0
01 Oct '11 at 11:22
source share

I would look at 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.

-2
Sep 10 '09 at 21:32
source share



All Articles