From 37a3b49133be66dfe87e3ddd6b19fbaadac3bce4 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Wed, 9 Mar 2011 14:52:31 +0100 Subject: [PATCH] Modified INSTALL file (actually, ripped off Gwibber's :) ) --- INSTALL | 84 ++++++++++++++++++++++++++++++++++++++++++-------------- setup.py | 7 ----- 2 files changed, 63 insertions(+), 28 deletions(-) diff --git a/INSTALL b/INSTALL index 6b32f9c53..32bd32b34 100644 --- a/INSTALL +++ b/INSTALL @@ -1,23 +1,65 @@ +Installing Lutris +================= -Lutris depends on the following : - - Python (>= 2.5) (Maybe compatible with 2.4 and earlier, someone will have to test) - - python-gtk2 - - python-glade2 - - python-yaml + Requirements + ------------ - -Optional dependencies: - - fuseiso (To mount isos without root permissions, and this isn't implemented - yet btw) - - python-pyglet (For the fullscreen coverflow) - - python-gconf - -Stuff that Lutris may install for you: - - wine - - scummvm - - uae - - mednafen - - sdlmame - - snes9x-gtk - - ... - + These are the requirements I was able to find on the development machine. + Lutris should work on any Gnome system but the runner installation is + currently tied to Software Center so it works only on Ubuntu and Debian. + In the future, the installation process will use a distro independent + mechanism. + In order to run Lutris, install the following packages. + + * Python (>= 2.5) + * python-gtk2 + * python-glade2 + * python-gconf (recommended but optional) + * python-xdg + * python-yaml + * joy2key (optional) + * python-pyglet (optional, for fullscreen coverflow) + + If you want to manually install runners you can choose from the list below + and install the ones you wish to use. + + * wine + * scummvm + * uae + * mednafen + * sdlmame + * snes9x-gtk + * gens-gs + * steam (using wine) + * atari800 + * dolphin-emu + * frotz + * dosbox + * hatari + * jzintv + * mednafen + * mupen64plus + * nulldc (1.0.3 only, using wine) + * o2em + * openmsx + * osmose + * pcsx + * pcsx2 (not currently supported, but soon will be) + * scummvm + + Installation + ------------ + + Lutris uses Python's distutils framework for installation. In order to + install Lutris, you will need root access. To install Lutris, perform + the following command as root: + + $ python setup.py install + + Run Lutris + ----------- + + If you installed Lutris using the setup.py script, you can launch the + program by typing "lutris" at the command line. If you want to run + Lutris without installing it, start "bin/lutris" from within the + Lutris directory. diff --git a/setup.py b/setup.py index ac40db213..7b2df4485 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,6 @@ def update_data_path(prefix, oldvalue=None): sys.exit(1) return oldvalue - def update_desktop_file(datadir): try: @@ -74,7 +73,6 @@ def update_desktop_file(datadir): print ("ERROR: Can't find lutris.desktop.in") sys.exit(1) - class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): def run(self): if self.root or self.home: @@ -87,11 +85,6 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): update_data_path(self.prefix, previous_value) - -################################################################################## -###################### YOU SHOULD MODIFY ONLY WHAT IS BELOW ###################### -################################################################################## - DistUtilsExtra.auto.setup( name='lutris', version=lutris.constants.version,