Permalink
Browse files

fixed path problem for NT compilation

  • Loading branch information...
1 parent d748355 commit 96121cb60696923e02770e5f1c459fd708116729 tavis_rudd committed Feb 25, 2002
Showing with 7 additions and 1 deletion.
  1. +7 −1 SetupConfig.py
View
@@ -14,9 +14,15 @@
package_dir = {'Cheetah':'src'}
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", ["src/_namemapper.c"])]
+ ext_modules=[Extension("Cheetah._namemapper", [os.path.join("src" ,"_namemapper.c")]
+ )
+ ]
else:
ext_modules=[]

0 comments on commit 96121cb

Please sign in to comment.