Mercurial > urwid-satext
annotate setup.py @ 43:e49d8f289a73
menu example: ortho fix in comments :)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 20 Feb 2011 00:41:21 +0100 |
parents | 8cc5970039f3 |
children | 39c1448badd7 |
rev | line source |
---|---|
31 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 | |
39
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
4 from distribute_setup import use_setuptools |
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
5 use_setuptools() |
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
6 |
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
7 from setuptools import setup |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
8 import sys |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
9 from os import path |
35 | 10 from glob import glob |
31 | 11 |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
12 name = 'urwid_satext' |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
13 |
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
14 setup(name=name, |
31 | 15 version='0.1.0', |
16 description=u'SàT extension widgets for Urwid', | |
38
67d312aee431
added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents:
35
diff
changeset
|
17 long_description=u'Urwid SàT extension widgets is a set of widgets for the console user interface library Urwid (http://excess.org/urwid/). This library, originaly made for the SàT project, was eventually separated so other softwares can use it. Widgets provided include password text box, tab container, dialogs, file chooser etc. Feel free to go to the project page for more informations.', |
31 | 18 author='Goffi (Jérôme Poisson)', |
19 author_email='goffi@goffi.org', | |
20 url='http://wiki.goffi.org/wiki/Urwid-satext', | |
38
67d312aee431
added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents:
35
diff
changeset
|
21 classifiers=['Environment :: Console', |
67d312aee431
added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents:
35
diff
changeset
|
22 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', |
67d312aee431
added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents:
35
diff
changeset
|
23 'Intended Audience :: Developers'], |
31 | 24 packages=['urwid_satext'], |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
25 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']), |
35 | 26 ('share/doc/%s/examples' % name, glob("examples/*.py")), |
39
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
27 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])], |
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
28 install_requires = ['urwid'] |
31 | 29 ) |