summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-31 02:32:10 (GMT)
committerGreg Ward <gward@python.net>2000-05-31 02:32:10 (GMT)
commitd8dfb4c4b8d661acee263e3feb77974ced69e97d (patch)
tree19fd4f8d8b032f885118e9e181d67b87820e8762 /Lib/distutils/command/install.py
parent65bc20c23e22543e13ff6d1fbdf51705a0b5aa1a (diff)
downloadcpython-d8dfb4c4b8d661acee263e3feb77974ced69e97d.zip
cpython-d8dfb4c4b8d661acee263e3feb77974ced69e97d.tar.gz
cpython-d8dfb4c4b8d661acee263e3feb77974ced69e97d.tar.bz2
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).
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r--Lib/distutils/command/install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 13fa88e..7176fab 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -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