From 7ea2d12345e0e038b74a2f668d73b51f3d3569ef Mon Sep 17 00:00:00 2001 From: Maki Date: Sun, 9 Jun 2024 01:13:22 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=A6=20[chore]=20setup.py=E3=81=AB?= =?UTF-8?q?=E9=95=B7=E3=81=84=E8=AA=AC=E6=98=8E=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.mdから読み込んだ内容をパッケージの長い説明として設定 - パッケージのメタデータに`long_description_content_type`を明記して、内容がMarkdown形式であることを指定 --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 21cd61e..ef53710 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,9 @@ from setuptools import setup, find_packages +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + + setup( name='pegasus-surf', version='0.1.0', @@ -8,6 +12,8 @@ author_email='sunwood.ai.labs@gmail.com', url='https://github.com/Sunwood-ai-labs/PEGASUS', packages=find_packages(), + long_description=long_description, + long_description_content_type="text/markdown", install_requires=[ 'requests', 'markdownify', From 56e837dddda21bfb9edbc399f3cd624a4d11ff12 Mon Sep 17 00:00:00 2001 From: Maki Date: Sun, 9 Jun 2024 01:14:17 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20[chore]=20=E3=83=91=E3=83=83?= =?UTF-8?q?=E3=82=B1=E3=83=BC=E3=82=B8=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=920.1.1=E3=81=AB=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - パッケージのバージョン番号を0.1.0から0.1.1にアップデート - このバージョンアップは、最近の機能追加やバグ修正を反映するために行われました --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ef53710..c41dfe7 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='pegasus-surf', - version='0.1.0', + version='0.1.1', description='A package for scraping websites and converting them to Markdown', author='Maki', author_email='sunwood.ai.labs@gmail.com',