示例#1
0
文件: setup.py 项目: mattst88/portage
 def finalize_options(self):
     install_lib.finalize_options(self)
     self.set_undefined_options(
         "install",
         ("portage_base", "portage_base"),
         ("portage_bindir", "portage_bindir"),
         ("portage_confdir", "portage_confdir"),
     )
示例#2
0
    def finalize_options(self):
        install_lib.finalize_options(self)
        self.set_undefined_options('install',
                                   ('install_data', 'data_prefix'),
                                   ('gajim_dir', 'gajim_dir'),
                                   )

        # prepapre gajim directory paths
        if self.gajim_dir is None:
            self.gajim_dir = os.path.join(self.data_prefix,
                    os.path.normpath('share/gajim'))
        else:
            self.gajim_dir = os.path.expanduser(self.gajim_dir)
        self.gajim_plugin_dir = os.path.join(self.gajim_dir,
                os.path.normpath('plugins/gotr'))
示例#3
0
 def finalize_options(self):
     _install_lib.finalize_options(self)
     self.build_dir = build_lib
示例#4
0
 def finalize_options(self):
     build_cmd = self.get_finalized_command('build')
     platlib_dir = _get_platlib_dir(build_cmd)
     self.build_dir = platlib_dir
     SetuptoolsInstallLib.finalize_options(self)
示例#5
0
 def finalize_options(self):
     # Distuilts defines attributes in the initialize_options() method
     # pylint: disable=attribute-defined-outside-init
     InstallLibCommand.finalize_options(self)
     self.optimize = 1
示例#6
0
 def finalize_options(self):
     # Distuilts defines attributes in the initialize_options() method
     # pylint: disable=attribute-defined-outside-init
     InstallLibCommand.finalize_options(self)
     self.optimize = 1
示例#7
0
 def finalize_options(self):
     install_lib.finalize_options(self)
     self.set_undefined_options('install',
                                ('byte_code_only', 'byte_code_only'))
     self.set_undefined_options('build', ('build_base', 'build_dir'))
示例#8
0
 def finalize_options(self):
     inst = self.distribution.command_options.get('install', {})
     _install_lib.finalize_options(self)
示例#9
0
文件: setup.py 项目: tomstitt/PyMFEM
 def finalize_options(self):
     _install_lib.finalize_options(self)
     src_cmd_obj = self.distribution.get_command_obj('install')
     src_cmd_obj.ensure_finalized()
     self.install_dir = src_cmd_obj.install_platlib
示例#10
0
 def finalize_options(self):
     install_lib.finalize_options(self)
     self.set_undefined_options(
         "install",
     )
示例#11
0
 def finalize_options(self):
     install_lib.finalize_options(self)
     self.set_undefined_options('install',
                                ('byte_code_only', 'byte_code_only'))
     self.set_undefined_options('build', ('build_base', 'build_dir'))
示例#12
0
 def finalize_options(self):
     inst = self.distribution.command_options.get('install', {})
     _install_lib.finalize_options(self)