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