summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()