2018-09-24 13:06:57 +00:00
|
|
|
#!/usr/bin/env python3
|
2010-08-31 00:44:09 +00:00
|
|
|
import os
|
2016-09-30 17:46:48 +00:00
|
|
|
import sys
|
2020-10-04 19:01:32 +00:00
|
|
|
|
2016-08-06 03:12:54 +00:00
|
|
|
from setuptools import setup
|
2020-10-04 19:01:32 +00:00
|
|
|
|
2018-11-07 10:48:57 +00:00
|
|
|
from lutris import __version__ as VERSION
|
2010-01-22 15:02:40 +00:00
|
|
|
|
2016-09-30 17:46:48 +00:00
|
|
|
if sys.version_info < (3, 4):
|
|
|
|
sys.exit('Python 3.4 is required to run Lutris')
|
|
|
|
|
2012-11-09 23:01:55 +00:00
|
|
|
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'):
|
2015-01-19 14:54:21 +00:00
|
|
|
dest = directory[6:]
|
2012-11-09 23:01:55 +00:00
|
|
|
if filenames:
|
|
|
|
files = []
|
|
|
|
for filename in filenames:
|
|
|
|
filename = os.path.join(directory, filename)
|
|
|
|
files.append(filename)
|
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
|
|
|
|
2012-11-09 23:01:55 +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',
|
2012-11-09 23:01:55 +00:00
|
|
|
author_email='strider@strycore.com',
|
2018-12-21 10:26:14 +00:00
|
|
|
packages=[
|
|
|
|
'lutris',
|
2020-10-04 00:07:49 +00:00
|
|
|
'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',
|
2020-10-12 00:10:19 +00:00
|
|
|
'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',
|
|
|
|
'lutris.services',
|
|
|
|
'lutris.util',
|
2021-03-09 18:23:43 +00:00
|
|
|
'lutris.util.dolphin',
|
2019-01-18 23:28:22 +00:00
|
|
|
'lutris.util.graphics',
|
2020-04-21 23:49:40 +00:00
|
|
|
'lutris.util.mame',
|
2018-12-21 10:26:14 +00:00
|
|
|
'lutris.util.steam',
|
2020-07-20 02:57:40 +00:00
|
|
|
'lutris.util.wine'
|
2018-12-21 10:26:14 +00:00
|
|
|
],
|
2020-01-17 14:15:04 +00:00
|
|
|
scripts=['bin/lutris'],
|
2012-11-09 23:01:55 +00:00
|
|
|
data_files=data_files,
|
2017-05-19 00:59:26 +00:00
|
|
|
zip_safe=False,
|
2016-08-06 03:12:54 +00:00
|
|
|
install_requires=[
|
|
|
|
'PyYAML',
|
|
|
|
'PyGObject',
|
2019-01-22 06:06:37 +00:00
|
|
|
'evdev',
|
2020-10-01 10:08:34 +00:00
|
|
|
'requests',
|
|
|
|
'python-magic'
|
2016-08-06 03:12:54 +00:00
|
|
|
],
|
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.""",
|
2012-11-09 23:01:55 +00:00
|
|
|
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+)',
|
2012-11-09 23:01:55 +00:00
|
|
|
'Programming Language :: Python',
|
|
|
|
'Operating System :: Linux',
|
2015-12-16 01:46:12 +00:00
|
|
|
'Topic :: Games/Entertainment'
|
2012-11-09 23:01:55 +00:00
|
|
|
],
|
|
|
|
)
|