summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-11-06 18:53:22 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-11-06 18:53:22 -0400
commit5c5aed1004472ecec994620fec43743f0528a254 (patch)
tree9a3c7a2523255592990255cdc85f8a8c900f87eb
parent341c9087e64dabaaef2718e229fd940c78d9b86f (diff)
downloadpython-setuptools-git-5c5aed1004472ecec994620fec43743f0528a254.tar.gz
Prefer 'posix_*' to 'unix_*'
-rw-r--r--distutils/command/install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py
index 23d48ba3..6ba07ffd 100644
--- a/distutils/command/install.py
+++ b/distutils/command/install.py
@@ -457,10 +457,10 @@ class install(Command):
raise DistutilsPlatformError(
"User base directory is not specified")
self.install_base = self.install_platbase = self.install_userbase
- self.select_scheme("unix_user")
+ self.select_scheme("posix_user")
elif self.home is not None:
self.install_base = self.install_platbase = self.home
- self.select_scheme("unix_home")
+ self.select_scheme("posix_home")
else:
if self.prefix is None:
if self.exec_prefix is not None:
@@ -476,7 +476,7 @@ class install(Command):
self.install_base = self.prefix
self.install_platbase = self.exec_prefix
- self.select_scheme("unix_prefix")
+ self.select_scheme("posix_prefix")
def finalize_other(self):
"""Finalizes options for non-posix platforms"""
@@ -488,7 +488,7 @@ class install(Command):
self.select_scheme(os.name + "_user")
elif self.home is not None:
self.install_base = self.install_platbase = self.home
- self.select_scheme("unix_home")
+ self.select_scheme("posix_home")
else:
if self.prefix is None:
self.prefix = os.path.normpath(sys.prefix)