summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJames Abbatiello <abbeyj@gmail.com>2009-08-04 14:36:49 -0400
committerJames Abbatiello <abbeyj@gmail.com>2009-08-04 14:36:49 -0400
commite658b4ba82c5c07d40d2a5e394f42ecdac82b8fb (patch)
treea765c292c9cb4318b302f5c8f68db4fcf97efea4 /bin
parent53144fffd7754476b8b866b7b52fa9faab1548e4 (diff)
downloadpython-cheetah-e658b4ba82c5c07d40d2a5e394f42ecdac82b8fb.tar.gz
Have setuptools generate .exe wrappers for scripts on Windows
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cheetah4
-rw-r--r--bin/cheetah-compile6
2 files changed, 4 insertions, 6 deletions
diff --git a/bin/cheetah b/bin/cheetah
index 26c391a..61b8178 100755
--- a/bin/cheetah
+++ b/bin/cheetah
@@ -1,3 +1,3 @@
#!/usr/bin/env python
-from Cheetah.CheetahWrapper import CheetahWrapper
-CheetahWrapper().main()
+from Cheetah.CheetahWrapper import _cheetah
+_cheetah()
diff --git a/bin/cheetah-compile b/bin/cheetah-compile
index 5d9ab60..f15528e 100644
--- a/bin/cheetah-compile
+++ b/bin/cheetah-compile
@@ -1,5 +1,3 @@
#!/usr/bin/env python
-import sys
-from Cheetah.CheetahWrapper import CheetahWrapper
-sys.argv.insert(1, "compile")
-CheetahWrapper().main()
+from Cheetah.CheetahWrapper import _cheetah_compile
+_cheetah_compile()