def run():
setup_file = os.path.join(package_root, '<STR_LIT>')<EOL>git_wc_proc = subprocess.Popen(<EOL>['<STR_LIT>', '<STR_LIT:status>', '<STR_LIT>', '<STR_LIT>'],<EOL>stdout=subprocess.PIPE,<EOL>stderr=subprocess.STDOUT,<EOL>cwd=package_root<EOL>)<EOL>git_wc_status, _ = git_wc_proc.communicate()<EOL>if len(git_wc_status) > <NUM_LIT:0>:<EOL><INDENT>print(git_wc_status.decode('<STR_LIT:utf-8>').rstrip(), file=sys.stderr)<EOL>print('<STR_LIT>', file=sys.stderr)<EOL>return False<EOL><DEDENT>git_tag_proc = subprocess.Popen(<EOL>['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'],<EOL>stdout=subprocess.PIPE,<EOL>stderr=subprocess.PIPE,<EOL>cwd=package_root<EOL>)<EOL>tag, tag_error = git_tag_proc.communicate()<EOL>if len(tag_error) > <NUM_LIT:0>:<EOL><INDENT>print(tag_error.decode('<STR_LIT:utf-8>').rstrip(), file=sys.stderr)<EOL>print('<STR_LIT>', file=sys.stderr)<EOL>return False<EOL><DEDENT>if len(tag) == <NUM_LIT:0>:<EOL><INDENT>print('<STR_LIT>', file=sys.stderr)<EOL>return False<EOL><DEDENT>tag = tag.decode('<STR_LIT:ascii>').strip()<EOL>setuptools.sandbox.run_setup(<EOL>setup_file,<EOL>['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>)<EOL>twine.cli.dispatch(['<STR_LIT>', '<STR_LIT>' % (package_name, tag)])<EOL>setuptools.sandbox.run_setup(<EOL>setup_file,<EOL>['<STR_LIT>']<EOL>)<EOL>
Creates a sdist .tar.gz and a bdist_wheel --univeral .whl and uploads
them to pypi

:return:
    A bool - if the packaging and upload process was successful