Renamed 'native_path()' to 'convert_path()'.

Also changed it so it doesn't barf if the path is already in native format
  (ie. contains os.sep).
This commit is contained in:
Greg Ward 2000-05-31 02:32:10 +00:00
parent 65bc20c23e
commit d8dfb4c4b8
3 changed files with 11 additions and 15 deletions

View file

@ -10,7 +10,7 @@ import sys, os, string
from types import *
from distutils.core import Command, DEBUG
from distutils import sysconfig
from distutils.util import write_file, native_path, subst_vars, change_root
from distutils.util import write_file, convert_path, subst_vars, change_root
from distutils.errors import DistutilsOptionError
from glob import glob
@ -423,7 +423,7 @@ class install (Command):
# convert to local form in case Unix notation used (as it
# should be in setup scripts)
extra_dirs = native_path (extra_dirs)
extra_dirs = convert_path (extra_dirs)
else:
path_file = None