summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@monkeypox.org>2009-11-18 19:32:55 -0800
committerR. Tyler Ballance <tyler@monkeypox.org>2009-11-18 19:32:55 -0800
commit0fca88e647edb4cda3cff4de9b0f8dcbdc40913b (patch)
tree1e1a0b730dafd7a84f1d4b8d24998093c343f7fe
parentb49163a592fe6393b1f32949c16efad687713d7e (diff)
downloadpython-cheetah-0fca88e647edb4cda3cff4de9b0f8dcbdc40913b.tar.gz
Add the cheetah-analyze script to the mix
-rw-r--r--SetupConfig.py5
-rw-r--r--bin/cheetah-analyze6
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()