Beispiel #1
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     check_options = {
         'strict': ('register', self.strict),
         'restructuredtext': ('register', 1)
     }
     self.distribution.command_options['check'] = check_options
Beispiel #2
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     # setting options for the `check` subcommand
     check_options = {
         "strict": ("register", self.strict),
         "restructuredtext": ("register", 1),
     }
     self.distribution.command_options["check"] = check_options
Beispiel #3
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     # setting options for the `check` subcommand
     check_options = {
         'strict': ('register', self.strict),
         'restructuredtext': ('register', 1),
     }
     self.distribution.command_options['check'] = check_options
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     if self.identity and not self.sign:
         raise DistutilsOptionError(
             "Must use --sign for --identity to have meaning")
     config = self._read_pypirc()
     if config != {}:
         self.username = config['username']
         self.password = config['password']
         self.repository = config['repository']
         self.realm = config['realm']
Beispiel #5
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     if self.identity and not self.sign:
         raise DistutilsOptionError('Must use --sign for --identity to have meaning')
     config = self._read_pypirc()
     if config != {}:
         self.username = config['username']
         self.password = config['password']
         self.repository = config['repository']
         self.realm = config['realm']
     if not self.password and self.distribution.password:
         self.password = self.distribution.password
Beispiel #6
0
    def finalize_options(self):
        PyPIRCCommand.finalize_options(self)
        if self.identity and not self.sign:
            raise DistutilsOptionError("Must use --sign for --identity to have meaning")
        config = self._read_pypirc()
        if config != {}:
            self.username = config["username"]
            self.password = config["password"]
            self.repository = config["repository"]
            self.realm = config["realm"]

        # getting the password from the distribution
        # if previously set by the register command
        if not self.password and self.distribution.password:
            self.password = self.distribution.password
Beispiel #7
0
    def finalize_options(self):
        PyPIRCCommand.finalize_options(self)
        if self.identity and not self.sign:
            raise DistutilsOptionError(
                "Must use --sign for --identity to have meaning")
        config = self._read_pypirc()
        if config != {}:
            self.username = config['username']
            self.password = config['password']
            self.repository = config['repository']
            self.realm = config['realm']

        # getting the password from the distribution
        # if previously set by the register command
        if not self.password and self.distribution.password:
            self.password = self.distribution.password
Beispiel #8
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     config = self._read_pypirc()
     if config != {}:
         self.username = config['username']
         self.password = config['password']
Beispiel #9
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     config = self._read_pypirc()
     if config != {}:
         self.username = config['username']
         self.password = config['password']
Beispiel #10
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     check_options = {'strict': ('register', self.strict),
      'restructuredtext': ('register', 1)}
     self.distribution.command_options['check'] = check_options
Beispiel #11
0
 def finalize_options(self):
     PyPIRCCommand.finalize_options(self)
     # setting options for the `check` subcommand
     check_options = {"strict": ("register", self.strict), "restructuredtext": ("register", 1)}
     self.distribution.command_options["check"] = check_options