lutris/setup.py

87 lines
2.4 KiB
Python
Raw Normal View History

2018-09-24 13:06:57 +00:00
#!/usr/bin/env python3
2010-08-31 00:44:09 +00:00
import os
import sys
from setuptools import setup
from lutris import __version__ as VERSION
2010-01-22 15:02:40 +00:00
2022-04-01 00:10:17 +00:00
if sys.version_info < (3, 7):
sys.exit('Python >= 3.7 is required to run Lutris')
data_files = []
2010-01-22 15:02:40 +00:00
2014-11-19 19:02:15 +00:00
for directory, _, filenames in os.walk(u'share'):
dest = directory[6:]
if filenames:
2021-08-03 05:44:33 +00:00
files = [os.path.join(directory, filename) for filename in filenames]
2014-11-19 19:02:15 +00:00
data_files.append((os.path.join('share', dest), files))
2013-07-11 21:16:17 +00:00
setup(
2010-01-22 15:02:40 +00:00
name='lutris',
2014-02-08 18:21:00 +00:00
version=VERSION,
2010-01-22 18:38:20 +00:00
license='GPL-3',
author='Mathieu Comandon',
2023-05-16 18:59:36 +00:00
author_email='mathieucomandon@gmail.com',
2018-12-21 10:26:14 +00:00
packages=[
'lutris',
'lutris.database',
2018-12-21 10:26:14 +00:00
'lutris.gui',
'lutris.gui.config',
2019-01-18 23:28:22 +00:00
'lutris.gui.dialogs',
'lutris.gui.installer',
2019-01-08 06:29:33 +00:00
'lutris.gui.views',
2019-01-18 23:28:22 +00:00
'lutris.gui.widgets',
2018-12-21 10:26:14 +00:00
'lutris.installer',
'lutris.migrations',
'lutris.runners',
'lutris.runners.commands',
2021-05-11 06:16:15 +00:00
'lutris.scanners',
2018-12-21 10:26:14 +00:00
'lutris.services',
'lutris.util',
'lutris.util.amazon',
2023-01-28 13:05:15 +00:00
'lutris.util.battlenet',
2022-09-04 06:48:08 +00:00
'lutris.util.discord',
2021-03-09 18:23:43 +00:00
'lutris.util.dolphin',
2021-05-01 05:39:45 +00:00
'lutris.util.egs',
2019-01-18 23:28:22 +00:00
'lutris.util.graphics',
'lutris.util.mame',
2021-04-27 16:07:15 +00:00
'lutris.util.steam',
2022-03-16 04:10:33 +00:00
'lutris.util.steam.vdf',
2021-04-26 07:04:55 +00:00
'lutris.util.retroarch',
2022-01-24 19:51:20 +00:00
'lutris.util.ubisoft',
2020-07-20 02:57:40 +00:00
'lutris.util.wine'
2018-12-21 10:26:14 +00:00
],
scripts=['bin/lutris'],
data_files=data_files,
zip_safe=False,
install_requires=[
2022-09-04 18:54:43 +00:00
'certifi',
'dbus-python',
2022-09-04 18:41:36 +00:00
'distro',
2022-09-04 18:54:43 +00:00
'evdev',
'lxml',
'pillow',
2022-09-04 18:54:43 +00:00
'PyGObject',
'pypresence',
'PyYAML',
'requests',
2023-01-28 13:05:15 +00:00
'protobuf',
'moddb >= 0.8.1'
],
2014-07-09 15:16:01 +00:00
url='https://lutris.net',
2021-03-22 23:38:23 +00:00
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=[
2015-12-16 01:46:12 +00:00
'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',
2015-12-16 01:46:12 +00:00
'Topic :: Games/Entertainment'
],
)