Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 180187
Collapse All | Expand All

(-)run_game.py.orig (-1 / +1 lines)
Lines 3-9 Link Here
3
import sys
3
import sys
4
import os
4
import os
5
try:
5
try:
6
    libdir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))
6
    libdir = "@GENTOO_LIBDIR@"
7
    sys.path.insert(0, libdir)
7
    sys.path.insert(0, libdir)
8
except:
8
except:
9
    # probably running inside py2exe which doesn't set __file__
9
    # probably running inside py2exe which doesn't set __file__
(-)lib/data.py.orig (-2 / +1 lines)
Lines 7-14 Link Here
7
7
8
import os
8
import os
9
9
10
data_py = os.path.abspath(os.path.dirname(__file__))
10
data_dir = "@GENTOO_DATADIR@"
11
data_dir = os.path.normpath(os.path.join(data_py, '..', 'data'))
12
11
13
def filepath(filename):
12
def filepath(filename):
14
    '''Determine the path to a file in the data directory.
13
    '''Determine the path to a file in the data directory.

Return to bug 180187