From c8838fb72b9855be630039365d1dbe624634f38c Mon Sep 17 00:00:00 2001 From: Quintin Dunn <93884113+quintindunn@users.noreply.github.com> Date: Thu, 26 Oct 2023 23:41:12 -0400 Subject: [PATCH] Refactored setup.py --- setup.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index c33d54b..2e61bab 100644 --- a/setup.py +++ b/setup.py @@ -2,25 +2,31 @@ VERSION = "0.1.1" DESCRIPTION = "A Python API wrapper for the social media app Lapse." -LONG_DESCRIPTION = "An unofficial API wrapper for the social media app Lapse." + +with open("README.md", 'r') as f: + LONG_DESCRIPTION = f.read() with open("requirements.txt", 'r', encoding="utf-16") as f: requirements = [i.strip() for i in f.readlines()] +with open("LICENSE", 'r') as f: + LICENSE = f.read() + setup(name='lapsepy', version=VERSION, description=DESCRIPTION, long_description_content_type="text/markdown", long_description=LONG_DESCRIPTION, + license=LICENSE, author="Quintin Dunn", author_email="dunnquintin07@gmail.com", url="https://github.com/quintindunn/lapsepy", packages=find_packages(), keywords=['social media', 'lapsepy', 'api', 'api wrapper'], classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Operating System :: Microsoft :: Windows :: Windows 10', - 'Programming Language :: Python :: 3', + 'Development Status :: 5 - Production/Stable', + 'Operating System :: Microsoft :: Windows :: Windows 10', + 'Programming Language :: Python :: 3', ], install_requires=requirements )