[Distutils] problems upload docs to pythonhosted.org with setuptools 2.0

Chris Withers chris at simplistix.co.uk
Wed Dec 11 12:29:05 CET 2013


Hi All,

I'm attempting to upload docs for a new release of my package to 
pythonhosted.org but I get:

$ bin/docpy setup.py upload_docs --upload-dir=docs/_build/html
running upload_docs
Submitting documentation to http://pypi.python.org/pypi
Upload failed (400): Form data is not correctly encoded in UTF-8

My docs are all ascii as far as I know.

I'm using setuptools 2.0 on Python 2.7.3.

Downgrading to setuptools 1.4.2 fixed the problem.

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list