--- unknown-horizons.old/setup.py 2013-09-07 00:48:29.725467733 +0200 +++ unknown-horizons/setup.py 2013-09-07 00:49:15.253469520 +0200 @@ -39,10 +39,7 @@ # Ensure we are in the correct directory os.chdir(os.path.realpath(os.path.dirname(__file__))) -if platform.dist()[0].lower() in ('debian', 'ubuntu'): - executable_path = 'games' -else: - executable_path = 'bin' +executable_path = 'games' #this trick is for setting RELEASE_VERSION if the code is cloned from git repository @@ -54,11 +51,11 @@ data = [ (executable_path, ('unknown-horizons', )), ('share/pixmaps', ('content/unknown-horizons.xpm', )), - ('share/unknown-horizons', ('content/settings-template.xml', )) + ('share/games/unknown-horizons', ('content/settings-template.xml', )) ] for root, dirs, files in filter(lambda x: len(x[2]), os.walk('content')): - data.append(('share/unknown-horizons/%s' % root, + data.append(('share/games/unknown-horizons/%s' % root, ['%s/%s' % (root, f) for f in files])) packages = []