Mercurial > urwid-satext
annotate setup.py @ 79:33677d99ebdf
addMenu allows to add a new category without adding an item
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 07 Apr 2014 19:58:13 +0200 |
parents | e497bf7e3060 |
children | 12b5b1435e17 |
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, |
72 | 15 version='0.3.0', |
31 | 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")), |
46 | 27 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README', "CHANGELOG"])], |
39
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
28 install_requires = ['urwid'] |
31 | 29 ) |