class_docstr: manage the aequitas releases and upload to pypi
class_docstr_tok: ["manage","the","aequitas","releases","and","upload","to","pypi"]
docstr: upload distribution(s) to pypi
docstr_tok: ["upload","distribution","(","s",")","to","pypi"]
code: def upload(self, args):
      """upload distribution(s) to pypi"""
      if args.versions:
          targets = [
              f"dist/{self.package_name}-{version}*"
              for version in args.versions
          ]
      else:
          targets = [f"dist/{self.package_name}-*"]
      return (self.local.FG, self.local["twine"]["upload"][targets])
  
imports: from pathlib import Path
  from argparse import REMAINDER
  from argcmdr import CacheDict, Local, LocalRoot, localmethod
  from plumbum import local
label_desc: Use image node_id 3 for calling the Release obj's underlying member method code with example usage: obj.upload(args) and returns: self,  self