summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SetupConfig.py22
1 files changed, 8 insertions, 14 deletions
diff --git a/SetupConfig.py b/SetupConfig.py
index 047416f..7129671 100644
--- a/SetupConfig.py
+++ b/SetupConfig.py
@@ -36,20 +36,14 @@ import os
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',