1111from types import *
1212from glob import glob
1313from distutils .core import Command
14- from distutils .util import newer , create_tree , remove_tree , native_path , \
14+ from distutils .util import newer , create_tree , remove_tree , convert_path , \
1515 write_file
1616from distutils .archive_util import check_archive_formats
1717from distutils .text_file import TextFile
@@ -322,7 +322,7 @@ def read_template (self):
322322 action )
323323 continue
324324
325- pattern_list = map (native_path , words [1 :])
325+ pattern_list = map (convert_path , words [1 :])
326326
327327 elif action in ('recursive-include' ,'recursive-exclude' ):
328328 if len (words ) < 3 :
@@ -332,8 +332,8 @@ def read_template (self):
332332 action )
333333 continue
334334
335- dir = native_path (words [1 ])
336- pattern_list = map (native_path , words [2 :])
335+ dir = convert_path (words [1 ])
336+ pattern_list = map (convert_path , words [2 :])
337337
338338 elif action in ('graft' ,'prune' ):
339339 if len (words ) != 2 :
@@ -343,7 +343,7 @@ def read_template (self):
343343 action )
344344 continue
345345
346- dir_pattern = native_path (words [1 ])
346+ dir_pattern = convert_path (words [1 ])
347347
348348 else :
349349 template .warn ("invalid manifest template line: " +
0 commit comments