diff options
author | R. Tyler Ballance <tyler@monkeypox.org> | 2009-11-18 19:32:55 -0800 |
---|---|---|
committer | R. Tyler Ballance <tyler@monkeypox.org> | 2009-11-18 19:32:55 -0800 |
commit | 0fca88e647edb4cda3cff4de9b0f8dcbdc40913b (patch) | |
tree | 1e1a0b730dafd7a84f1d4b8d24998093c343f7fe | |
parent | b49163a592fe6393b1f32949c16efad687713d7e (diff) | |
download | python-cheetah-0fca88e647edb4cda3cff4de9b0f8dcbdc40913b.tar.gz |
Add the cheetah-analyze script to the mix
-rw-r--r-- | SetupConfig.py | 5 | ||||
-rw-r--r-- | bin/cheetah-analyze | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/SetupConfig.py b/SetupConfig.py index 85539e9..5620416 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -49,9 +49,10 @@ ext_modules=[ ] ## Data Files and Scripts -scripts = ['bin/cheetah-compile', +scripts = ('bin/cheetah-compile', 'bin/cheetah', - ] + 'bin/cheetah-analyze', + ) data_files = ['recursive: cheetah *.tmpl *.txt LICENSE README TODO CHANGES',] diff --git a/bin/cheetah-analyze b/bin/cheetah-analyze new file mode 100644 index 0000000..097db5f --- /dev/null +++ b/bin/cheetah-analyze @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +from Cheetah import DirectiveAnalyzer + +if __name__ == '__main__': + DirectiveAnalyzer.main() |