diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-01-11 17:47:47 +0000 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2023-01-11 17:47:47 +0000 |
commit | 2a89d672ce92104da8b61a5f9f0969fb947f06ba (patch) | |
tree | 13a676ccca64536a6acec6acac5d53bddc336434 /docs | |
parent | 8019ad70b1ecadc5b889570d5db1de04538704de (diff) | |
parent | 4305841ac8857b6095aae1110394c7bb67f4447c (diff) | |
download | python-setuptools-git-2a89d672ce92104da8b61a5f9f0969fb947f06ba.tar.gz |
Merge: Docs: Modify table for tool.setuptools.dynamic to mention content-type (#3764)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/userguide/pyproject_config.rst | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/userguide/pyproject_config.rst b/docs/userguide/pyproject_config.rst index ede19754..633f4de7 100644 --- a/docs/userguide/pyproject_config.rst +++ b/docs/userguide/pyproject_config.rst @@ -190,13 +190,19 @@ of all given files and concatenate them in a single string. Key Directive Notes ========================== =================== ================================================================================================= ``version`` ``attr``, ``file`` -``readme`` ``file`` -``description`` ``file`` One-line text +``readme`` ``file`` Here you can also set ``"content-type"``: + + ``readme = {file = ["README", "USAGE"], content-type = "text/plain"}`` + + If ``content-type`` is not given, ``"text/x-rst"`` is used by default. +``description`` ``file`` One-line text (no line breaks) ``classifiers`` ``file`` Multi-line text with one classifier per line ``entry-points`` ``file`` INI format following :doc:`PyPUG:specifications/entry-points` (``console_scripts`` and ``gui_scripts`` can be included) -``dependencies`` ``file`` ``requirements.txt`` format (``#`` comments and blank lines excluded) **BETA** -``optional-dependencies`` ``file`` ``requirements.txt`` format per group (``#`` comments and blank lines excluded) **BETA** +``dependencies`` ``file`` *subset* of the ``requirements.txt`` format + (``#`` comments and blank lines excluded) **BETA** +``optional-dependencies`` ``file`` *subset* of the ``requirements.txt`` format per group + (``#`` comments and blank lines excluded) **BETA** ========================== =================== ================================================================================================= Supporting ``file`` for dependencies is meant for a convenience for packaging |