setup.cfg(パッケージングしよう)
#パッケージングして配布する
パッケージメタデータを書く
setup.cfgのoptions
setup.cfgのkeywordはcase insensitive
補足:setup.cfg 関係ドキュメント
PyPI Trove classifiers
(実体験から追加)nameはPyPIのプロジェクトと合わせる必要がある
合わせなかった(途中のバージョンから変えようとした)らuploadできなかった
https://pypi.org/help/#project-name
The project name is too similar to an existing project and may be confusable.
description-content-typeはdescription_content_typeかも
long_description_content_typeはドキュメントに載っていた
取りうる値はPyPI によく合う README を作る参照(text/plain, text/x-rst, text/markdown)
code:setup.cfg
metadata
name = ...
version = ...
author = ...
author_email = ...
url = ...
license = ...
description = file: README.md
description-content-type = text/markdown
options
packages = find:
install_requires =
...
...
options.extras_require
testing =
...
doc =
...
options.packages.find
exclude =
...