Skip to main content

Snake is yet another Make-like tool inspired by Rake.

Project description

Snake is yet another Make-like tool, written on Python and inspired by Rake.

Usage Example

In a directory with (or in any sub-directory) containing such code:

from snake import depends_on, sh

@depends_on('virtualenv', 'install')
def init():
    print("Activate your virtualenv with:")
    print("  $ source bin/activate")

def virtualenv():
    sh('virtualenv -q --no-site-packages .')

def install():
    sh('bin/pip -q install -e .')


$ snake init
(in /Users/yumike/Projects/Snake)
[sh] virtualenv -q --no-site-packages .
[sh] bin/pip -q install -e .
Activate your virtualenv with:
  $ source bin/activate

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Snake-0.2.tar.gz (3.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page