diff options
author | James Abbatiello <abbeyj@gmail.com> | 2009-06-28 15:41:34 -0400 |
---|---|---|
committer | James Abbatiello <abbeyj@gmail.com> | 2009-06-28 15:58:05 -0400 |
commit | 714a46b4ed922d7afaf8ef95144890cfcd74007e (patch) | |
tree | c9ac1823d287adc13d4bc9783caa18d359db478f /SetupConfig.py | |
parent | e4a84a16e57eba6753c9e05d04ed0c34611a62d3 (diff) | |
download | python-cheetah-714a46b4ed922d7afaf8ef95144890cfcd74007e.tar.gz |
Add cheetah.bat for Windows
Diffstat (limited to 'SetupConfig.py')
-rw-r--r-- | SetupConfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SetupConfig.py b/SetupConfig.py index 87df62b..9508e3c 100644 --- a/SetupConfig.py +++ b/SetupConfig.py @@ -34,6 +34,7 @@ package_dir = {'Cheetah':'src'} import os import os.path +import sys from distutils.core import Extension ext_modules=[ @@ -51,6 +52,8 @@ ext_modules=[ 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'): |