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
|
2016-08-06 03:12:54 +00:00
|
|
|
from setuptools import setup
|
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
|
|
|
|
2010-01-22 15:02:40 +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',
|
2017-05-19 01:22:20 +00:00
|
|
|
packages=['lutris', 'lutris.gui', 'lutris.gui.widgets', 'lutris.util',
|
2018-11-21 15:54:21 +00:00
|
|
|
'lutris.util.steam', 'lutris.util.wine', 'lutris.runners',
|
|
|
|
'lutris.runners.commands', 'lutris.services', 'lutris.installer',
|
2018-12-15 19:20:00 +00:00
|
|
|
'lutris.migrations', 'lutris.vendor'],
|
2012-11-09 23:01:55 +00:00
|
|
|
scripts=['bin/lutris'],
|
|
|
|
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',
|
|
|
|
'evdev'
|
|
|
|
],
|
2014-07-09 15:16:01 +00:00
|
|
|
url='https://lutris.net',
|
2010-08-31 00:44:09 +00:00
|
|
|
description='Install and play any video game on Linux',
|
2012-11-09 23:01:55 +00:00
|
|
|
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=[
|
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
|
|
|
],
|
|
|
|
)
|