added english localization
[meabook] / setup.py
1 #!/usr/bin/python -tt
2
3 """ Setup """
4
5 import os
6 try:
7     from setuptools import setup
8 except ImportError:
9     from distutils.core import setup
10
11 PKG = open('debian/changelog').readline().split(' ')[0]
12
13 setup(name=PKG,
14     description='Enterprise address book',
15     version=open('debian/changelog').readline().split(' ')[1][1:-1],
16     license='GPL 2',
17     packages=['meabook.database', 'meabook.parsers', 'meabook.ui', \
18         'meabook.renderers', 'meabook', 'meabook.ui.fremantle_ui'],
19     package_dir={'meabook': ''},
20     data_files = [
21         ('/usr/share/dbus-1/services', ['maemo/%s.service' % PKG]),
22         ('/usr/share/applications/hildon', ['maemo/%s.desktop' % PKG]),
23         ('/usr/share/icons/hicolor/48x48/apps/', \
24             ['./maemo/icons/48x48/%s.png' % PKG]),
25         ('/usr/share/icons/hicolor/64x64/apps/', \
26             ['./maemo/icons/64x64/%s.png' % PKG]),
27         ('/usr/share/locale/ru/LC_MESSAGES', ['./i18n/ru/meabook.mo']),
28         ('/usr/share/locale/ru_RU/LC_MESSAGES', ['./i18n/ru/meabook.mo']),
29         ('/usr/share/locale/en/LC_MESSAGES', ['./i18n/en/meabook.mo']),
30         ('/usr/share/locale/en_EN/LC_MESSAGES', ['./i18n/en/meabook.mo'])
31     ])