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 snakefile.py (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 .')
run:
$ 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 details)
File details
Details for the file Snake-0.2.tar.gz
.
File metadata
- Download URL: Snake-0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d922823ec140557e5b87dd0912cfddd65681df2753988caa3f224ebf4ebbeeac |
|
MD5 | d8d1ccc655e03e4b4e943beb7a5c6410 |
|
BLAKE2b-256 | 74fa60e007e4858ab4ea5b53acae114769f5b0281e435a6f3a6027622a55ce55 |