Update distutils so that it triggers no warnings when run under -3.

This commit is contained in:
Brett Cannon 2008-08-17 04:16:04 +00:00
parent 94f243aa41
commit 047e4a915d
4 changed files with 10 additions and 9 deletions

View file

@ -679,7 +679,7 @@ class build_ext (Command):
so_ext = get_config_var('SO')
if os.name == 'nt' and self.debug:
return apply(os.path.join, ext_path) + '_d' + so_ext
return apply(os.path.join, ext_path) + so_ext
return os.path.join(*ext_path) + so_ext
def get_export_symbols (self, ext):
"""Return the list of symbols that a shared extension has to