<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def upload():
 """Uploads to PyPI"""

    env=os.environ.copy()
    print(env)
    env['PYTHONPATH']= "./pynt"
    print(env)
    #    subprocess.call(['ssh-add', '~/.ssh/id_rsa'])
    pipe=subprocess.Popen(['python', 'setup.py', 'sdist','upload'], env=env)
    pipe.wait()