(self)
Finalizes options for non-posix platforms
Finalizes options for non-posix platforms
Finalizes options for non - posix platforms
def finalize_other(self):
        """Finalizes options for non-posix platforms"""
        if self.user:
            if self.install_userbase is None:
                raise DistutilsPlatformError(
                    "User base directory is not specified")
            self.install_base = self.install_platbase = self.install_userbase
            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")
        else:
            if self.prefix is None:
                self.prefix = os.path.normpath(sys.prefix)

            self.install_base = self.install_platbase = self.prefix
            try:
                self.select_scheme(os.name)
            except KeyError:
                raise DistutilsPlatformError(
                      "I don't know how to install stuff on '%s'" % os.name)
def finalize_other ( self ) : if self . user : if self . install_userbase is None : raise DistutilsPlatformError ( "User base directory is not specified" ) self . install_base = self . install_platbase = self . install_userbase 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" ) else : if self . prefix is None : self . prefix = os . path . normpath ( sys . prefix ) self . install_base = self . install_platbase = self . prefix try : self . select_scheme ( os . name ) except KeyError : raise DistutilsPlatformError ( "I don't know how to install stuff on '%s'" % os . name )