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 +)