Skip to content
Browse files

Add cheetah.bat for Windows

  • Loading branch information...
1 parent e4a84a1 commit 714a46b4ed922d7afaf8ef95144890cfcd74007e @abbeyj abbeyj committed Jun 28, 2009
Showing with 5 additions and 0 deletions.
  1. +3 −0 SetupConfig.py
  2. +1 −0 bin/.gitattributes
  3. +1 −0 bin/cheetah.bat
View
3 SetupConfig.py
@@ -34,6 +34,7 @@
import os
import os.path
+import sys
from distutils.core import Extension
ext_modules=[
@@ -51,6 +52,8 @@
scripts = ['bin/cheetah-compile',
'bin/cheetah',
]
+if sys.platform == "win32":
+ scripts.append('bin/cheetah.bat')
data_files = ['recursive: src *.tmpl *.txt LICENSE README TODO CHANGES',
]
if not os.getenv('CHEETAH_INSTALL_WITHOUT_SETUPTOOLS'):
View
1 bin/.gitattributes
@@ -0,0 +1 @@
+cheetah.bat -crlf
View
1 bin/cheetah.bat
@@ -0,0 +1 @@
+@"%~dp0..\python" "%~dpn0" %*

0 comments on commit 714a46b

Please sign in to comment.
Something went wrong with that request. Please try again.