comparison setup.py @ 34:875ff127b2dd

- i18n management: gettext integration + french translation - added misc files to distribution
author Goffi <goffi@goffi.org>
date Tue, 28 Dec 2010 21:48:01 +0100
parents 42cb54666fc2
children 5a8e2200ddc0
comparison
equal deleted inserted replaced
33:8147568448cd 34:875ff127b2dd
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 from distutils.core import setup 4 from distutils.core import setup
5 import sys
6 from os import path
5 7
6 setup(name='urwid-satext', 8 name = 'urwid_satext'
9
10 setup(name=name,
7 version='0.1.0', 11 version='0.1.0',
8 description=u'SàT extension widgets for Urwid', 12 description=u'SàT extension widgets for Urwid',
9 author='Goffi (Jérôme Poisson)', 13 author='Goffi (Jérôme Poisson)',
10 author_email='goffi@goffi.org', 14 author_email='goffi@goffi.org',
11 url='http://wiki.goffi.org/wiki/Urwid-satext', 15 url='http://wiki.goffi.org/wiki/Urwid-satext',
12 packages=['urwid_satext'], 16 packages=['urwid_satext'],
17 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']),
18 ('share/doc/%s/examples' % name, ["examples/file_dialog.py"]),
19 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])]
13 ) 20 )