diff options
| author | Ian Wienand <iwienand@redhat.com> | 2018-04-30 19:08:58 +1000 |
|---|---|---|
| committer | Ian Wienand <iwienand@redhat.com> | 2018-05-17 07:22:25 +1000 |
| commit | 07cd2e4e716264fd51aededcb77cefe37aafb25a (patch) | |
| tree | 08c8395e42ab13e3d66ea5f903840993909aefb6 /pytest.ini | |
| parent | 1252d1b3b34261acd6c8051c4fe97f206a7118b7 (diff) | |
| download | python-setuptools-git-07cd2e4e716264fd51aededcb77cefe37aafb25a.tar.gz | |
Allow setting long_description_content_type externally
Some tools, such as PBR, might want to set
long_description_content_type during the parent object's
Distribution.__init__() call (during distutils setup_keywords entry
points). However, that field is currently unconditionally overwritten
after these calls, erasing the value.
We would rather not duplicate the existing method of copying into
dist.metadata as done with project_urls.
This preserves the fields within Distribution.metadata described by
self._DISTUTIULS_UNUPPORTED_METADATA, or otherwise takes it from
arguments.
A test case that simulates setting the long description and overriding
the arguments is added.
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions
