2020-04-14 12:47:46 +00:00
|
|
|
# !/usr/bin/env python
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
from legendary import __version__ as legendary_version
|
|
|
|
|
|
|
|
if sys.version_info < (3, 8):
|
|
|
|
sys.exit('python 3.8 or higher is required for legendary')
|
|
|
|
|
2020-04-30 14:40:39 +00:00
|
|
|
with open("README.md", "r") as fh:
|
2020-05-01 13:08:21 +00:00
|
|
|
long_description_l = fh.readlines()
|
|
|
|
del long_description_l[2:5] # remove discord/twitter link and logo
|
|
|
|
long_description = ''.join(long_description_l)
|
2020-04-30 14:40:39 +00:00
|
|
|
|
2020-04-14 12:47:46 +00:00
|
|
|
setup(
|
|
|
|
name='legendary-gl',
|
|
|
|
version=legendary_version,
|
|
|
|
license='GPL-3',
|
|
|
|
author='Rodney',
|
|
|
|
author_email='rodney@rodney.io',
|
|
|
|
packages=[
|
|
|
|
'legendary',
|
|
|
|
'legendary.api',
|
|
|
|
'legendary.downloader',
|
2021-09-01 17:12:14 +00:00
|
|
|
'legendary.downloader.mp',
|
2020-04-14 12:47:46 +00:00
|
|
|
'legendary.lfs',
|
|
|
|
'legendary.models',
|
2020-05-04 14:05:31 +00:00
|
|
|
'legendary.utils',
|
2020-04-14 12:47:46 +00:00
|
|
|
],
|
|
|
|
entry_points=dict(
|
|
|
|
console_scripts=['legendary = legendary.cli:main']
|
|
|
|
),
|
|
|
|
install_requires=[
|
2020-05-04 14:13:33 +00:00
|
|
|
'requests<3.0',
|
|
|
|
'setuptools',
|
|
|
|
'wheel'
|
2020-04-14 12:47:46 +00:00
|
|
|
],
|
|
|
|
url='https://github.com/derrod/legendary',
|
2020-04-30 14:40:39 +00:00
|
|
|
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',
|
2020-04-14 12:47:46 +00:00
|
|
|
classifiers=[
|
|
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 3.8',
|
2020-04-30 14:40:39 +00:00
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
2020-04-14 12:47:46 +00:00
|
|
|
'Operating System :: Microsoft',
|
|
|
|
'Intended Audience :: End Users/Desktop',
|
|
|
|
'Topic :: Games/Entertainment',
|
2020-04-30 14:40:39 +00:00
|
|
|
'Development Status :: 4 - Beta',
|
2020-04-14 12:47:46 +00:00
|
|
|
],
|
|
|
|
)
|