mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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:
parent
65bc20c23e
commit
d8dfb4c4b8
3 changed files with 11 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue