code: def upload():
      
      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()
docs: Uploads to PyPI