Lines Matching +full:server +full:- +full:username
22 ('list-classifiers', None,
25 'Will stop the registering if the meta-data are not fully compliant')
28 'verify', 'list-classifiers', 'strict']
74 self.username = config['username']
87 ''' Fetch the list of classifiers from the server.
93 ''' Send the metadata to the package index server to be checked.
95 # send the info to the server and report the result
97 log.info('Server response (%s): %s' % (code, result))
101 ''' Send the metadata to the package index server.
107 First we try to read the username/password from $HOME/.pypirc,
108 which is a ConfigParser-formatted file with a section
109 [distutils] containing username and password entries (both
113 index-servers =
117 username: fred
128 # see if we can short-cut and get the username/password from the
132 username = self.username
136 username = password = ''
145 3. have the server generate a new password for you (and email it to you), or
156 # get the username and password
157 while not username:
158 username = raw_input('Username: ')
165 auth.add_password(self.realm, host, username, password)
166 # send the info to the server and report the result
169 self.announce('Server response (%s): %s' % (code, result),
189 self._store_pypirc(username, password)
196 data['name'] = raw_input('Username: ')
210 log.info('Server response (%s): %s' % (code, result))
221 log.info('Server response (%s): %s' % (code, result))
224 # figure the data to send - the metadata plus some additional
225 # information used by the package server
252 ''' Post a query to the server, and return a string response.
259 boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254'
260 sep_boundary = '\n--' + boundary
261 end_boundary = sep_boundary + '--'
269 chunks.append('\nContent-Disposition: form-data; name="%s"'%key)
272 if value and value[-1] == '\r':
281 body.append(chunk.encode('utf-8'))
289 'Content-type': 'multipart/form-data; boundary=%s; charset=utf-8'%boundary,
290 'Content-length': str(len(body))
312 dashes = '-' * 75