setuptools“上传失败(400):表格数据未正确编码为UTF-8”,为什么?

时间:2013-12-12 15:54:33

标签: python encoding utf-8 setuptools

我正在尝试将我的文档上传到PyPI,但是我收到一条错误消息上传失败(400):表单数据未正确编码为UTF-8 。使用 iconv 测试单个文件时,它们似乎在utf-8中正确编码。我做错了什么?

$ python3.3 setup.py upload_docs                                     
running upload_docs
running build_sphinx
Running Sphinx v1.2
loading pickled environment... done
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
no targets are out of date.
Submitting documentation to http://pypi.python.org/pypi
Upload failed (400): Form data is not correctly encoded in UTF-8

手动上传工作正常。

0 个答案:

没有答案