From bc9eef118e07a9c05f0d8ae239669bd0a3c891f1 Mon Sep 17 00:00:00 2001 From: Oliver Rice Date: Thu, 14 Sep 2023 11:46:22 -0500 Subject: [PATCH] add readme to pypi description --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index dc461af..fac7ed9 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ import logging import os import sys +from pathlib import Path import setuptools @@ -36,6 +37,7 @@ def read_package_variable(key, filename="__init__.py"): check_python_version() +long_description = (Path(__file__).parent / "README.md").read_text() REQUIRES = [ "pgvector==0.1.*", @@ -50,6 +52,8 @@ def read_package_variable(key, filename="__init__.py"): name=read_package_variable("__project__"), version=read_package_variable("__version__"), description="pgvector client", + long_description=long_description, + long_description_content_type="text/markdown", url="https://github.com/supabase/vecs", author="Oliver Rice", packages=setuptools.find_packages("src", exclude="tests"),