From e9188b817fe20f43bffc47d77e9eb032b7ec7c99 Mon Sep 17 00:00:00 2001 From: Gaurav Mishra Date: Thu, 2 Nov 2023 17:41:03 +0530 Subject: [PATCH] fix(package): fix pypi warnings Signed-off-by: Gaurav Mishra --- Safaa/setup.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Safaa/setup.py b/Safaa/setup.py index f5904db..e44e1a9 100644 --- a/Safaa/setup.py +++ b/Safaa/setup.py @@ -1,9 +1,15 @@ # SPDX-FileCopyrightText: © 2023 abdelrahmanjamal5565@gmail.com # # SPDX-License-Identifier: LGPL-2.1-only +from os import path from setuptools import setup, find_packages +here = path.dirname(path.abspath(path.dirname(__file__))) +# fetch the long description from the README.md +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name='safaa', version='0.0.1', @@ -15,6 +21,8 @@ to predict whether a given copyright output from the Fossology software is a false positive or not. It is also able to remove extra text from a copyright notice.""", + long_description=long_description, + long_description_content_type='text/markdown', packages=find_packages(where='src', ), package_dir={"": "src"}, install_requires=[ @@ -25,7 +33,7 @@ ], classifiers=[ 'Programming Language :: Python :: 3', - 'License :: OSI Approved :: GNU Lesser General Public License v2.1 (LGPLv2.1)', + 'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)', ], include_package_data=True, include_dirs=[],