forked from RareDevs/Rare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (46 loc) · 1.4 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.33",
"setuptools",
"wheel",
"PyQt5",
"QtAwesome",
'pywin32; platform_system == "Windows"',
"typing_extensions"
]
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=dict(console_scripts=["rare=rare.__main__:main"]),
install_requires=requirements,
extras_require=optional_reqs,
)