3
3
from distutils.core import setup
5
6
from emesenecommon import APP_VERSION
8
# From apport's setup.py
10
for filepath in glob.glob("po/*/LC_MESSAGES/*.mo"):
11
lang = filepath[len("po/"):]
12
targetpath = os.path.dirname(os.path.join("share/locale",lang))
13
mo_files.append((targetpath, [filepath]))
7
16
setup(name = 'emesene',
8
17
version = APP_VERSION,
9
18
description = 'MSN messenger client',
13
22
license = 'GNU GPL 2',
14
23
requires = ["gtk"],
15
24
platforms = ["Platform Independent"],
16
packages = ['', 'emesenelib', 'plugins_base', 'plugins_base.currentSong'],
17
package_data = {'': ['conversation_themes/*/*', 'po/*/LC_MESSAGES/*.mo',
18
'smilies/*/*', 'sound_themes/*/*', 'themes/*/*', 'hotmlog.htm']},
25
packages = ['', 'abstract', 'emesenelib', 'plugins_base', 'plugins_base.currentSong'],
26
package_data = {'': ['conversation_themes/*/*', 'smilies/*/*',
27
'sound_themes/*/*', 'themes/*/*', 'hotmlog.htm']},
19
28
scripts = ['emesene'],
20
29
data_files = [('share/pixmaps', ['misc/emesene.png']),
21
30
('share/icons/hicolor/scalable/apps', ['misc/emesene.svg']),
22
31
('share/man/man1', ['misc/emesene.1']),
23
('share/applications', ['misc/emesene.desktop'])]
32
('share/applications', ['misc/emesene.desktop'])] + mo_files