Example #1
0
 def finalize_options(self):
     self.set_undefined_options(
         'bdist_webpi', ('msdeploy_bdists', 'msdeploy_bdists'))
     if self.webpi_cache is None:
         self.webpi_cache = webpi_cache
     self.webpi_cache = os.path.expandvars(self.webpi_cache)
     self.ensure_dirname('webpi_cache')
     options.ensure_verbosity(self)
Example #2
0
 def finalize_options(self):
     self.set_undefined_options('bdist_webpi',
                                ('msdeploy_bdists', 'msdeploy_bdists'))
     if self.webpi_cache is None:
         self.webpi_cache = webpi_cache
     self.webpi_cache = os.path.expandvars(self.webpi_cache)
     self.ensure_dirname('webpi_cache')
     options.ensure_verbosity(self)
Example #3
0
    def finalize_options(self):
        cwd = os.getcwd()
        if 'APPL_PHYSICAL_PATH' not in os.environ:
            os.environ['APPL_PHYSICAL_PATH'] = cwd

        count = self.app_name_pattern.match(cwd).group(2)
        if count:
            self.count = int(count)
        else:
            self.count = 0

        options.ensure_verbosity(self)
Example #4
0
    def finalize_options(self):
        cwd = os.getcwd()
        if 'APPL_PHYSICAL_PATH' not in os.environ:
            os.environ['APPL_PHYSICAL_PATH'] = cwd

        count = self.app_name_pattern.match(cwd).group(2)
        if count:
            self.count = int(count)
        else:
            self.count = 0

        options.ensure_verbosity(self)
Example #5
0
 def finalize_options(self):
     if not self.msdeploy_bdists:
         raise errors.DistutilsOptionError(
             'The msdeploy_bdists option is required')
     else:
         self.msdeploy_bdists = shlex.split(self.msdeploy_bdists)
     self.distributions = []
     self.ensure_filename('template')
     if self.template is None:
         self.template = 'WebPIList.pt'
     from zope.pagetemplate import pagetemplatefile
     self.template = pagetemplatefile.PageTemplateFile(self.template)
     if self.dist_dir is None:
         self.dist_dir = "dist"
     if self.msdeploy_url_template is None:
         self.msdeploy_url_template = msdeploy_url_template
     options.ensure_verbosity(self)
Example #6
0
 def finalize_options(self):
     sdist.sdist.finalize_options(self)
     self.formats = ["zip"]
     self.install.ensure_finalized()
     options.ensure_verbosity(self)
Example #7
0
 def finalize_options(self):
     options.ensure_verbosity(self)
Example #8
0
 def finalize_options(self):
     sdist.sdist.finalize_options(self)
     self.formats = ['zip']
     self.install.ensure_finalized()
     options.ensure_verbosity(self)
Example #9
0
 def finalize_options(self):
     options.ensure_verbosity(self)
Example #10
0
 def finalize_options(self):
     self.ensure_filename('config_file')
     self.ensure_string('url')
     self.ensure_filename('paster')
     options.ensure_verbosity(self)
Example #11
0
 def finalize_options(self):
     self.ensure_filename("config_file")
     self.ensure_string("url")
     self.ensure_filename("paster")
     options.ensure_verbosity(self)