From 979170d304674ef284a29aaaba18b453844b0c0f Mon Sep 17 00:00:00 2001 From: RGBCube <78925721+RGBCube@users.noreply.github.com> Date: Wed, 26 Jan 2022 22:18:52 +0300 Subject: [PATCH] Update setup.py --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index be0fd2d..4a74e58 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,16 @@ from setuptools import setup +from pathlib import Path -readme = "" -with open("README.md") as file: - readme = file.read() +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() setup( name="json_wrapper", description="Easy JSON wrapper packed with features", + long_description=long_description, url="https://github.com/RGBCube/json_wrapper", version="1.0", author="RGBCube", py_modules=["json_wrapper"], license="CC0 1.0 Universal" -) \ No newline at end of file +)