Mercurial > urwid-satext
annotate setup.py @ 35:5a8e2200ddc0
using glob for setup.py
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Dec 2010 22:08:34 +0100 |
parents | 875ff127b2dd |
children | 67d312aee431 |
rev | line source |
---|---|
31 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 | |
4 from distutils.core import setup | |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
5 import sys |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
6 from os import path |
35 | 7 from glob import glob |
31 | 8 |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
9 name = 'urwid_satext' |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
10 |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
11 setup(name=name, |
31 | 12 version='0.1.0', |
13 description=u'SàT extension widgets for Urwid', | |
14 author='Goffi (Jérôme Poisson)', | |
15 author_email='goffi@goffi.org', | |
16 url='http://wiki.goffi.org/wiki/Urwid-satext', | |
17 packages=['urwid_satext'], | |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
18 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']), |
35 | 19 ('share/doc/%s/examples' % name, glob("examples/*.py")), |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
20 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])] |
31 | 21 ) |