1
0
Fork 0
mirror of synced 2024-05-03 20:23:01 +12:00
Rare/setup.py
loathingKernel fa5294b1d5
Lgndr: Replace the monkey functions with factories to create them
The factories are also usable in Rare's code to create compatible
functions for the callbacks. If they there is no callback they just
log what is happening. It also removes the need for `typing-extentions`
module.
2023-12-10 22:43:31 +02:00

55 lines
1.5 KiB
Python

import setuptools
from rare import __version__ as version
with open("README.md", "r") as fh:
long_description = fh.read()
requirements = [
"requests<3.0",
"legendary-gl>=0.20.34",
"orjson",
"setuptools",
"wheel",
"PyQt5",
"QtAwesome",
'pywin32; platform_system == "Windows"',
]
optional_reqs = dict(
webview=[
'pywebview[gtk]; platform_system == "Linux"',
'pywebview[gtk]; platform_system == "FreeBSD"',
'pywebview[cef]; platform_system == "Windows"',
],
pypresence=["pypresence"]
)
setuptools.setup(
name="Rare",
version=version,
author="Dummerle",
license="GPL-3",
description="A gui for Legendary",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Dummerle/Rare",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
"Operating System :: OS Independent"
],
include_package_data=True,
python_requires=">=3.9",
entry_points={
# 'console_scripts': ["rare = rare.main:main"],
'gui_scripts': ["rare = rare.main:main"],
},
install_requires=requirements,
extras_require=optional_reqs,
)