Exemple #1
0
    def finalize_options(self):
        self.set_undefined_options("install", ("root", "root"),
                                   (self.var_name, "install_dir"))
        install_scripts.finalize_options(self)
        self.build_dir = os.path.join(self.build_dir, self.dir_name)

        # prepend root
        if self.root is not None:
            self.install_dir = change_root(self.root, self.install_dir)
Exemple #2
0
    def finalize_options(self):
        self.set_undefined_options('install', ('root', 'root'),
                                   (self.var_name, 'install_dir'))
        install_scripts.finalize_options(self)
        self.build_dir = os.path.join(self.build_dir, self.dir_name)

        # prepend root
        if self.root is not None:
            self.install_dir = change_root(self.root, self.install_dir)