summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-12 20:15:30 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-12 20:15:30 +0000
commit844fd39844d3930ffa9c98c7d569b1f9829671ff (patch)
tree67d81d64851dccf88dd0907058f1ecdcb53d79ee
parent275ac5fec0f89c354aeefbd554445fb5e608bfe8 (diff)
downloadnumpy-844fd39844d3930ffa9c98c7d569b1f9829671ff.tar.gz
Changed normpath to normcase to close #129
-rw-r--r--numpy/distutils/conv_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/conv_template.py b/numpy/distutils/conv_template.py
index dfd5585ed..37baf47b7 100644
--- a/numpy/distutils/conv_template.py
+++ b/numpy/distutils/conv_template.py
@@ -186,7 +186,7 @@ def resolve_includes(source):
def process_file(source):
lines = resolve_includes(source)
- sourcefile = os.path.normpath(source).replace("\\","\\\\")
+ sourcefile = os.path.normcase(source).replace("\\","\\\\")
return ('#line 1 "%s"\n%s'
% (sourcefile, process_str(''.join(lines))))