From a102d16f7b99bd5df46bc66746bfb422fba6a04b Mon Sep 17 00:00:00 2001 From: Moritz Huebner Date: Mon, 20 Mar 2023 10:06:53 -0700 Subject: [PATCH] Add long description to setup.py (#1094) Summary: Fixes https://github.com/pytorch/data/issues/1088 ### Changes - Added the README.md as a long description in the `setup.py` - Added `long_description_content_type` field Co-Authored by: Martin Achtner Jad Saliba Pull Request resolved: https://github.com/pytorch/data/pull/1094 Reviewed By: NivekT Differential Revision: D44166989 Pulled By: ejguan fbshipit-source-id: 24fafc170a825372356aba8c3f086a360902b6c9 --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index c64ef5f0a..db826d7a9 100644 --- a/setup.py +++ b/setup.py @@ -161,6 +161,8 @@ def remove_extension(pattern): name="torchdata", version=VERSION, description="Composable data loading modules for PyTorch", + long_description=Path("README.md").read_text(encoding="utf-8"), + long_description_content_type="text/markdown", url="https://github.com/pytorch/data", author="PyTorch Team", author_email="packages@pytorch.org", @@ -176,6 +178,7 @@ def remove_extension(pattern): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Artificial Intelligence", ],