Permalink
Browse files

Build all C-extensions by default, win32 be damned! (abbeyj@'s helpin…

…g there)

Signed-off-by: James Abbatiello <abbeyj@gmail.com>
  • Loading branch information...
1 parent 805b527 commit 8bee5af2e355e78e28b9a2f6a86009bbf01aa654 R. Tyler Ballance committed with abbeyj Jun 27, 2009
Showing with 8 additions and 14 deletions.
  1. +8 −14 SetupConfig.py
View
@@ -36,20 +36,14 @@
import os.path
from distutils.core import Extension
-## we only assume the presence of a c compiler on Posix systems, NT people will
-# have to enable this manually.
-if os.name == 'posix':
- ext_modules=[Extension("Cheetah._namemapper",
- [os.path.join('src', 'c', '_namemapper.c')],
- ),
- Extension("Cheetah._verifytype",
- [os.path.join('src', 'c', '_verifytype.c')]),
- Extension("Cheetah._filters",
- [os.path.join('src', 'c', '_filters.c')]),
- ]
-else:
- ext_modules=[]
-
+ext_modules=[Extension("Cheetah._namemapper",
+ [os.path.join('src', 'c', '_namemapper.c')],
+ ),
+ Extension("Cheetah._verifytype",
+ [os.path.join('src', 'c', '_verifytype.c')]),
+ Extension("Cheetah._filters",
+ [os.path.join('src', 'c', '_filters.c')]),
+ ]
## Data Files and Scripts
scripts = ['bin/cheetah-compile',

0 comments on commit 8bee5af

Please sign in to comment.