Skip to content

Commit e9188b8

Browse files
committed
fix(package): fix pypi warnings
Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
1 parent 3c56981 commit e9188b8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Safaa/setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# SPDX-FileCopyrightText: © 2023 abdelrahmanjamal5565@gmail.com
22
#
33
# SPDX-License-Identifier: LGPL-2.1-only
4+
from os import path
45

56
from setuptools import setup, find_packages
67

8+
here = path.dirname(path.abspath(path.dirname(__file__)))
9+
# fetch the long description from the README.md
10+
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
11+
long_description = f.read()
12+
713
setup(
814
name='safaa',
915
version='0.0.1',
@@ -15,6 +21,8 @@
1521
to predict whether a given copyright output from the Fossology software
1622
is a false positive or not. It is also able to remove extra
1723
text from a copyright notice.""",
24+
long_description=long_description,
25+
long_description_content_type='text/markdown',
1826
packages=find_packages(where='src', ),
1927
package_dir={"": "src"},
2028
install_requires=[
@@ -25,7 +33,7 @@
2533
],
2634
classifiers=[
2735
'Programming Language :: Python :: 3',
28-
'License :: OSI Approved :: GNU Lesser General Public License v2.1 (LGPLv2.1)',
36+
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
2937
],
3038
include_package_data=True,
3139
include_dirs=[],

0 commit comments

Comments
 (0)