diff options
author | Jeremy Stanley <fungi@yuggoth.org> | 2017-11-20 20:43:36 +0000 |
---|---|---|
committer | Jeremy Stanley <fungi@yuggoth.org> | 2017-12-04 19:46:41 +0000 |
commit | 538d2c21a1e2c816aa4ec2b20550c1278707456a (patch) | |
tree | cae85280d6e132f415ec921d2c930dd6a7908cac /pbr/tests | |
parent | 73cc4189caa8b8eb73855025529e5f820fb76a30 (diff) | |
download | pbr-538d2c21a1e2c816aa4ec2b20550c1278707456a.tar.gz |
Support Description-Content-Type metadata
As of setuptools 36.4.0, support for Description-Content-Type
metadata was added via the long_description_content_type variable.
Add a metadata.description-content-type option for setup.cfg so it
can be provided through PBR. This makes it possible to instruct PyPI
and potentially other frontends to know an explicit RFC 1341 content
type, along with character set and variant, for the accompanying
long description.
Change-Id: I852f603d9ca4e4cd469eab4cae9933ef2581e3af
Diffstat (limited to 'pbr/tests')
-rw-r--r-- | pbr/tests/testpackage/setup.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbr/tests/testpackage/setup.cfg b/pbr/tests/testpackage/setup.cfg index d10a87e..5af1514 100644 --- a/pbr/tests/testpackage/setup.cfg +++ b/pbr/tests/testpackage/setup.cfg @@ -10,6 +10,7 @@ summary = Test package for testing pbr description-file = README.txt CHANGES.txt +description-content-type = text/plain; charset=UTF-8 requires-python = >=2.5 requires-dist = |