mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
72 lines
2.1 KiB
Python
Executable file
72 lines
2.1 KiB
Python
Executable file
#!/usr/bin/env python3
|
|
import os
|
|
import sys
|
|
from setuptools import setup
|
|
from lutris import __version__ as VERSION
|
|
|
|
if sys.version_info < (3, 4):
|
|
sys.exit('Python 3.4 is required to run Lutris')
|
|
|
|
data_files = []
|
|
|
|
for directory, _, filenames in os.walk(u'share'):
|
|
dest = directory[6:]
|
|
if filenames:
|
|
files = []
|
|
for filename in filenames:
|
|
filename = os.path.join(directory, filename)
|
|
files.append(filename)
|
|
data_files.append((os.path.join('share', dest), files))
|
|
|
|
setup(
|
|
name='lutris',
|
|
version=VERSION,
|
|
license='GPL-3',
|
|
author='Mathieu Comandon',
|
|
author_email='strider@strycore.com',
|
|
packages=[
|
|
'lutris',
|
|
'lutris.gui',
|
|
'lutris.gui.config',
|
|
'lutris.gui.dialogs',
|
|
'lutris.gui.views',
|
|
'lutris.gui.widgets',
|
|
'lutris.installer',
|
|
'lutris.migrations',
|
|
'lutris.runners',
|
|
'lutris.runners.commands',
|
|
'lutris.services',
|
|
'lutris.util',
|
|
'lutris.util.graphics',
|
|
'lutris.util.mame',
|
|
'lutris.util.steam',
|
|
'lutris.util.wine'
|
|
],
|
|
scripts=['bin/lutris'],
|
|
data_files=data_files,
|
|
zip_safe=False,
|
|
install_requires=[
|
|
'PyYAML',
|
|
'PyGObject',
|
|
'evdev',
|
|
'requests',
|
|
'python-magic'
|
|
],
|
|
extras_require={
|
|
'Discord': ['pypresence~=3.3.2']
|
|
},
|
|
url='https://lutris.net',
|
|
description='Install and play any video game on Linux',
|
|
long_description="""Lutris is a gaming platform for GNU/Linux. Its goal is
|
|
to make gaming on Linux as easy as possible by taking care of installing
|
|
and setting up the game for the user. The only thing you have to do is play
|
|
the game. It aims to support every game that is playable on Linux.""",
|
|
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'
|
|
],
|
|
)
|