You are here: Home / Documentation / How To's / Unsupported schema error during buildout

Unsupported schema error during buildout

by nguyen — published May 11, 2012 02:30 PM, last modified Aug 16, 2016 10:50 AM

If you get this error:


Submitting dist\uwosh.library.ws-0.0.9.zip to ourbasket
Traceback (most recent call last):
  File "setup.py", line 59, in <module>
    """,
  File "c:\Plone4\python\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "c:\Plone4\python\lib\distutils\dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "c:\Plone4\python\lib\distutils\dist.py", line 995, in run_command
    cmd_obj.run()
  File "c:\Plone4\python\lib\distutils\command\upload.py", line 57, in run
    self.upload_file(command, pyversion, filename)
  File "c:\Plone4\python\lib\distutils\command\upload.py", line 160, in upload_file
    raise AssertionError, "unsupported schema "+schema
AssertionError: unsupported schema

it's probably because you are missing a .pypirc file (usually located in your home directory), or you specified an upload destination that isn't defined in your .pypirc.

 

Navigation