From c782a7b0af8d0461c80bea1767bcefe52fc0c9ce Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 26 Oct 2020 17:38:52 -0700 Subject: [PATCH 1/3] Remove unnecessary/redundant license argument --- st2client/setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/st2client/setup.py b/st2client/setup.py index baa59d680c..eebe9505a7 100644 --- a/st2client/setup.py +++ b/st2client/setup.py @@ -40,7 +40,6 @@ 'automation platform.'), author='StackStorm', author_email='info@stackstorm.com', - license='Apache License (2.0)', url='https://stackstorm.com/', classifiers=[ 'Development Status :: 5 - Production/Stable', From 30a64bae1efa67c98bddd4023b7164882e0a056e Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 26 Oct 2020 17:39:33 -0700 Subject: [PATCH 2/3] Use the README.rst as the package long description on PyPI --- st2client/setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/st2client/setup.py b/st2client/setup.py index eebe9505a7..92ab696c05 100644 --- a/st2client/setup.py +++ b/st2client/setup.py @@ -29,15 +29,20 @@ ST2_COMPONENT = 'st2client' BASE_DIR = os.path.dirname(os.path.abspath(__file__)) REQUIREMENTS_FILE = os.path.join(BASE_DIR, 'requirements.txt') +README_FILE = os.path.join(BASE_DIR, 'README.rst') install_reqs, dep_links = fetch_requirements(REQUIREMENTS_FILE) apply_vagrant_workaround() +with open(README_FILE) as f: + readme = f.read() + setup( name=ST2_COMPONENT, version=__version__, description=('Python client library and CLI for the StackStorm (st2) event-driven ' 'automation platform.'), + long_description=readme, author='StackStorm', author_email='info@stackstorm.com', url='https://stackstorm.com/', From d10bfa7e6cd038819d35f22c9e7d31d02de798ff Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 26 Oct 2020 17:40:12 -0700 Subject: [PATCH 3/3] Add additional URLs to the st2client setup.py file for better visibility on PyPI --- st2client/setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/st2client/setup.py b/st2client/setup.py index 92ab696c05..76659ccb28 100644 --- a/st2client/setup.py +++ b/st2client/setup.py @@ -67,5 +67,16 @@ 'console_scripts': [ 'st2 = st2client.shell:main' ] + }, + project_urls={ + 'Pack Exchange': 'https://exchange.stackstorm.org', + 'Repository': 'https://github.com/StackStorm/st2', + 'Documentation': 'https://docs.stackstorm.com', + 'Community': 'https://stackstorm.com/community-signup', + 'Questions': 'https://forum.stackstorm.com/', + 'Donate': 'https://funding.communitybridge.org/projects/stackstorm', + 'News/Blog': 'https://stackstorm.com/blog', + 'Security': 'https://docs.stackstorm.com/latest/security.html', + 'Bug Reports': 'https://github.com/StackStorm/st2/issues', } )