mirror of
https://github.com/lutris/lutris
synced 2024-09-05 07:23:32 +00:00
54 lines
1.7 KiB
Python
Executable file
54 lines
1.7 KiB
Python
Executable file
#!/usr/bin/python3
|
|
import os
|
|
import sys
|
|
from setuptools import setup
|
|
from lutris.settings import 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.widgets', 'lutris.util',
|
|
'lutris.runners', 'lutris.services', 'lutris.installer',
|
|
'lutris.migrations'],
|
|
scripts=['bin/lutris'],
|
|
data_files=data_files,
|
|
zip_safe=False,
|
|
install_requires=[
|
|
'PyYAML',
|
|
'PyGObject',
|
|
'evdev'
|
|
],
|
|
url='https://lutris.net',
|
|
description='Install and play any video game on Linux',
|
|
long_description="""Lutris is a gaming platform for GNU/Linux. It's 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'
|
|
],
|
|
)
|