forked from lutris/lutris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
86 lines (80 loc) · 2.39 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/usr/bin/env python3
import os
import sys
from setuptools import setup
from lutris import __version__ as VERSION
if sys.version_info < (3, 8):
sys.exit("Python >= 3.8 is required to run Lutris")
data_files = []
for directory, _, filenames in os.walk("share"):
dest = directory[6:]
if filenames:
files = [os.path.join(directory, filename) for filename in filenames]
data_files.append((os.path.join("share", dest), files))
setup(
name="lutris",
version=VERSION,
license="GPL-3",
author="Mathieu Comandon",
packages=[
"lutris",
"lutris.database",
"lutris.gui",
"lutris.gui.config",
"lutris.gui.dialogs",
"lutris.gui.installer",
"lutris.gui.views",
"lutris.gui.widgets",
"lutris.installer",
"lutris.migrations",
"lutris.runners",
"lutris.runners.commands",
"lutris.scanners",
"lutris.services",
"lutris.util",
"lutris.util.amazon",
"lutris.util.battlenet",
"lutris.util.discord",
"lutris.util.dolphin",
"lutris.util.egs",
"lutris.util.graphics",
"lutris.util.mame",
"lutris.util.steam",
"lutris.util.steam.vdf",
"lutris.util.retroarch",
"lutris.util.ubisoft",
"lutris.util.wine",
],
scripts=["bin/lutris"],
data_files=data_files,
zip_safe=False,
install_requires=[
"certifi",
"dbus-python",
"distro",
"evdev",
"lxml",
"pillow",
"PyGObject",
"pypresence",
"PyYAML",
"requests",
"protobuf",
"moddb >= 0.8.1",
],
url="https://lutris.net",
description="Video game preservation platform",
long_description="""Lutris helps you install and play video games from all eras
and from most gaming systems. By leveraging and combining existing emulators,
engine re-implementations and compatibility layers, it gives you a central
interface to launch all your games.""",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Operating System :: Linux",
"Topic :: Games/Entertainment",
],
)