parameters: (self)
return_statement: return '%s-%s%s-%s-%s-%s.whl' % (self.name, version, buildver,
                                           pyver, abi, arch)
docstring: Build and return a filename from the various components.
docstring_summary: Build and return a filename from the various components.
docstring_tokens: Build and return a filename from the various components .
function: def filename(self):
          """
          Build and return a filename from the various components.
          """
          if self.buildver:
              buildver = '-' + self.buildver
          else:
              buildver = ''
          pyver = '.'.join(self.pyver)
          abi = '.'.join(self.abi)
          arch = '.'.join(self.arch)
          # replace - with _ as a local version separator
          version = self.version.replace('-', '_')
          return '%s-%s%s-%s-%s-%s.whl' % (self.name, version, buildver,
                                           pyver, abi, arch)
function_tokens: def filename ( self ) : if self . buildver : buildver = '-' + self . buildver else : buildver = '' pyver = '.' . join ( self . pyver ) abi = '.' . join ( self . abi ) arch = '.' . join ( self . arch ) # replace - with _ as a local version separator version = self . version . replace ( '-' , '_' ) return '%s-%s%s-%s-%s-%s.whl' % ( self . name , version , buildver , pyver , abi , arch )