2010-12-09 13:44:47 +00:00
|
|
|
#!/usr/bin/python
|
2010-08-31 00:44:09 +00:00
|
|
|
import os
|
2014-08-28 20:33:32 +00:00
|
|
|
from distutils.core import setup
|
2014-02-08 18:21:00 +00:00
|
|
|
from lutris.settings import VERSION
|
2010-01-22 15:02:40 +00:00
|
|
|
|
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',
|
2015-12-13 21:20:48 +00:00
|
|
|
packages=['lutris', 'lutris.gui', 'lutris.util', 'lutris.runners',
|
|
|
|
'lutris.installer', 'lutris.migrations'],
|
2012-11-09 23:01:55 +00:00
|
|
|
scripts=['bin/lutris'],
|
|
|
|
data_files=data_files,
|
2014-08-28 21:32:00 +00:00
|
|
|
# FIXME: find a way to install dependencies
|
2015-05-17 05:16:22 +00:00
|
|
|
# install_requires=['PyYAML', 'PyGObject'],
|
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=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: GPLv3',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Operating System :: Linux',
|
|
|
|
'Topic :: Games'
|
|
|
|
],
|
|
|
|
)
|