From a69b1464d341106f2efbe880badf121c92a558e9 Mon Sep 17 00:00:00 2001 From: talaatmagdyx Date: Tue, 4 Jun 2024 05:00:53 +0300 Subject: [PATCH] added readme as description --- pyproject.toml | 3 ++- setup.cfg | 4 +++- setup.py | 9 ++++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b1101a6..3650edd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,9 @@ build-backend = "setuptools.build_meta" [project] name = "retry_plus" -version = "1.0.0" +version = "1.0.1" description = "A generic retry package for Python" +readme = "README.md" authors = [ { name = "Talaat Magdy", email = "talaatmagdy75@gmail.com" } ] diff --git a/setup.cfg b/setup.cfg index 1ad1602..63676e2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,9 @@ [metadata] name = retry_plus -version = 1.0.0 +version = 1.0.1 description = A generic retry package for Python +long_description = file: README.md +long_description_content_type = text/markdown author = Talaat Magdy author_email = talaatmagdy75@gmail.com license = MIT diff --git a/setup.py b/setup.py index 639c29c..fda9312 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,21 @@ from setuptools import setup, find_packages +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + setup( name='retry_plus', - version='1.0.0', + version='1.0.1', description='A generic retry package for Python', + long_description=long_description, + long_description_content_type='text/markdown', author='Talaat Magdy', author_email='talaatmagdy75@gmail.com', packages=find_packages(), - license="MIT", install_requires=[ 'pytest', 'pytest-asyncio', ], - test_suite='tests', classifiers=[ 'Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License',