diff options
author | David Cournapeau <cournape@gmail.com> | 2008-11-17 12:05:56 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-11-17 12:05:56 +0000 |
commit | cfa01f68bfd00d11bad21d41611c733f2fde8933 (patch) | |
tree | c0aec8249e5cdff1ddb8e1e58b72f870765290c4 /numpy/distutils/mingw32ccompiler.py | |
parent | 5504fd1da8db7a7f236544f8a8391f7b39a4812a (diff) | |
download | numpy-cfa01f68bfd00d11bad21d41611c733f2fde8933.tar.gz |
Generate the xml manifest file.
Diffstat (limited to 'numpy/distutils/mingw32ccompiler.py')
-rw-r--r-- | numpy/distutils/mingw32ccompiler.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/numpy/distutils/mingw32ccompiler.py b/numpy/distutils/mingw32ccompiler.py index 4da06b65a..bbe2fd7a3 100644 --- a/numpy/distutils/mingw32ccompiler.py +++ b/numpy/distutils/mingw32ccompiler.py @@ -279,8 +279,7 @@ def manifest_rc(name, type='dll'): 'exe'). Parameters - ---------- - name: str + ---------- name: str name of the manifest file to embed type: str ('dll', 'exe') type of the binary which will embed the manifest""" @@ -307,3 +306,10 @@ def check_embedded_msvcr_match_linked(msver): "Dyscrepancy between linked msvcr " \ "(%d) and the one about to be embedded " \ "(%d)" % (int(msver), maj) + +def manifest_name(config): + # Get configest name (including suffix) + base = os.path.basename(config._gen_temp_sourcefile("yo", [], lang)) + root, ext = os.path.splitext(base) + exext = self.compiler.exe_extension + return root + exect + ".manifest" |