Mercurial > urwid-satext
annotate setup.py @ 131:331546daef20
install (setup.py): don't force sys.prefix for locales
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 08 Jul 2018 18:02:21 +0200 |
parents | 406c310e52b5 |
children | 86287fcbf638 |
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 |
35 | 9 from glob import glob |
31 | 10 |
130 | 11 name = "urwid_satext" |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
12 |
130 | 13 setup( |
14 name=name, | |
15 version="0.7.0a1", | |
16 description=u"SàT extension widgets for Urwid", | |
17 long_description=(u"Urwid SàT extension widgets is a set of widgets for the console " | |
18 u"user interface library Urwid (http://excess.org/urwid/). This " | |
19 u"library, originaly made for the SàT project, was eventually " | |
20 u"separated so other softwares can use it. Widgets provided " | |
21 u"include password text box, tab container, dialogs, file chooser " | |
22 u"etc. Feel free to go to the project page for more informations."), | |
23 author="Goffi (Jérôme Poisson)", | |
24 author_email="goffi@goffi.org", | |
25 url="http://wiki.goffi.org/wiki/Urwid-satext", | |
26 classifiers=[ | |
27 "Environment :: Console", | |
28 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", | |
29 "Intended Audience :: Developers", | |
30 ], | |
31 packages=["urwid_satext"], | |
32 data_files=[ | |
33 ( | |
131
331546daef20
install (setup.py): don't force sys.prefix for locales
Goffi <goffi@goffi.org>
parents:
130
diff
changeset
|
34 "share/locale/fr/LC_MESSAGES", |
130 | 35 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"], |
36 ), | |
37 ("share/doc/%s/examples" % name, glob("examples/*.py")), | |
38 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]), | |
39 ], | |
40 install_requires=["urwid >= 1.2.0"], | |
41 ) |