From 0307092dc96ac6125de1dd035abb6e0ccb5c9aea Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 30 Apr 2020 16:40:39 +0200 Subject: [PATCH] README/setup.py add PyPI distribution adjustments --- README.md | 3 ++- setup.py | 14 ++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b0f2fdf..01f8fe9 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,9 @@ Note that on Linux glibc >= 2.25 is required, so older distributions such as Ubu ### Python package -(A PyPI package will follow once it has gotten more testing.) +Via PyPI: `pip install legendary-gl` +Manually: - Install python3.8, setuptools and requests - Clone the git repository - Run `python3.8 setup.py install` diff --git a/setup.py b/setup.py index 018510f..3d632ae 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,9 @@ from legendary import __version__ as legendary_version if sys.version_info < (3, 8): sys.exit('python 3.8 or higher is required for legendary') +with open("README.md", "r") as fh: + long_description = fh.read() + setup( name='legendary-gl', version=legendary_version, @@ -31,16 +34,19 @@ setup( 'requests' ], url='https://github.com/derrod/legendary', - description='Free and open-source replacement for the Epic Game Launcher application.', + description='Free and open-source replacement for the Epic Games Launcher application', + long_description=long_description, + long_description_content_type="text/markdown", + python_requires='>=3.8', classifiers=[ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Programming Language :: Python', 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9' - 'Operating System :: Linux', + 'Programming Language :: Python :: 3.9', + 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft', 'Intended Audience :: End Users/Desktop', 'Topic :: Games/Entertainment', - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', ], )