From f9c121962c998450424828fc746b9619264705ca Mon Sep 17 00:00:00 2001 From: Pasunuri Srinidhi <93040752+PasunuriSrinidhi@users.noreply.github.com> Date: Thu, 30 Mar 2023 23:11:39 +0530 Subject: [PATCH] Updated setup.py In this updated version, I've made the following changes: 1.Added long description: I've added a long description for the package that will be displayed on PyPI. This is read from the README.md file. 2.Added classifiers: I've added a list of classifiers to help categorize the package on PyPI. These classifiers include information about the intended audience, supported Python versions, and more. 3.Added project URLs: I've added a dictionary of project URLs to provide users with additional information about the package. These include links to documentation, the source code, and the issue tracker. --- setup.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.py b/setup.py index dfcf5c4..24a72ff 100644 --- a/setup.py +++ b/setup.py @@ -10,11 +10,15 @@ about = {} with open(os.path.join(here, 'pylint_quotes', '__version__.py'), 'r') as f: exec(f.read(), about) +with open('README.md', 'r', encoding='utf-8') as fh: + long_description = fh.read() setup( name=about['__title__'], description=about['__description__'], + long_description=long_description, + long_description_content_type='text/markdown', license=about['__license__'], version=about['__version__'], author=about['__author__'], @@ -40,4 +44,10 @@ 'Topic :: Utilities' ), keywords='pylint linting string quotes', + project_urls={ + 'Documentation': 'https://pylint-quotes.readthedocs.io/en/latest/', + 'Source': 'https://github.com/edaniszewski/pylint-quotes', + 'Bug Reports': 'https://github.com/edaniszewski/pylint-quotes/issues', + }, + )