README/setup.py add PyPI distribution adjustments

This commit is contained in:
derrod 2020-04-30 16:40:39 +02:00
parent c287649e07
commit 0307092dc9
2 changed files with 12 additions and 5 deletions

View file

@ -43,8 +43,9 @@ Note that on Linux glibc >= 2.25 is required, so older distributions such as Ubu
### Python package ### 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 - Install python3.8, setuptools and requests
- Clone the git repository - Clone the git repository
- Run `python3.8 setup.py install` - Run `python3.8 setup.py install`

View file

@ -11,6 +11,9 @@ from legendary import __version__ as legendary_version
if sys.version_info < (3, 8): if sys.version_info < (3, 8):
sys.exit('python 3.8 or higher is required for legendary') sys.exit('python 3.8 or higher is required for legendary')
with open("README.md", "r") as fh:
long_description = fh.read()
setup( setup(
name='legendary-gl', name='legendary-gl',
version=legendary_version, version=legendary_version,
@ -31,16 +34,19 @@ setup(
'requests' 'requests'
], ],
url='https://github.com/derrod/legendary', 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=[ classifiers=[
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9' 'Programming Language :: Python :: 3.9',
'Operating System :: Linux', 'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft', 'Operating System :: Microsoft',
'Intended Audience :: End Users/Desktop', 'Intended Audience :: End Users/Desktop',
'Topic :: Games/Entertainment', 'Topic :: Games/Entertainment',
'Development Status :: 3 - Alpha', 'Development Status :: 4 - Beta',
], ],
) )