Éric Araujo <[email protected]> added the comment:
> When I upload modules to PyPI, distutils is clucking about a missing
> README, even though PyPI accepts README.rst, and I am providing that.
PyPI doesn’t do anything with README, it displays the value of long_description.
> warning: sdist: standard file not found: should have one of README, README.txt
Is it a problem to name your reST file README.txt?
In packaging/distutils2, the recommended idiom looks like this (in setup.cfg):
[metadata]
description-file = README.whatever
sdist will include that file. You can also write the description in the
setup.cfg directly and have your README file included with the extra_files
field.
This can’t be changed in distutils and works differently without warning in
distutils2; closing.
----------
assignee: tarek -> eric.araujo
resolution: -> wont fix
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com