From 95bcdac110eacea50c80eb75c3aa0d682511150d Mon Sep 17 00:00:00 2001 From: NathanDraco22 Date: Sun, 10 Sep 2023 19:39:26 -0600 Subject: [PATCH] setup updated --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 348923f..08dc8bc 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ from setuptools import setup - -with open("README.md", "r") as fh: - long_description = fh.read() +from pathlib import Path +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() setup( @@ -16,7 +16,7 @@ description="Python Implementation to ZapTools WebSockets", long_description=long_description, - + long_description_content_type='text/markdown', packages=[ "zaptools" ],