Mercurial > urwid-satext
annotate setup.py @ 151:6689aa54b20c default tip
refactoring from camelCase -> snake_case:
This libraries was using camelCase due for historical reasons (related to the use of
Twisted in the initial project).
This patch fixes it by using PEP8 compliant snake_case
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 08 Apr 2023 15:38:18 +0200 |
parents | 5158ff7370e5 |
children |
rev | line source |
---|---|
145 | 1 #!/usr/bin/env python3 |
31 | 2 |
39
8cc5970039f3
distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents:
38
diff
changeset
|
3 from setuptools import setup |
35 | 4 from glob import glob |
31 | 5 |
130 | 6 name = "urwid_satext" |
34
875ff127b2dd
- i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents:
31
diff
changeset
|
7 |
130 | 8 setup( |
9 name=name, | |
149 | 10 version="0.9.0.dev0", |
143 | 11 description="SàT extension widgets for Urwid", |
145 | 12 long_description=( |
13 "Urwid SàT extension widgets is a set of widgets for the console " | |
14 "user interface library Urwid (http://excess.org/urwid/). This " | |
15 'library, originaly made for the Libervia (formerly "SàT") project, was ' | |
16 "eventually separated so other softwares can use it. Widgets provided " | |
17 "include password text box, tab container, dialogs, file chooser " | |
18 "etc. Feel free to go to the project page for more informations."), | |
130 | 19 author="Goffi (Jérôme Poisson)", |
20 author_email="goffi@goffi.org", | |
145 | 21 url="https://wiki.goffi.org/w/index.php/Urwid-satext", |
130 | 22 classifiers=[ |
145 | 23 "Programming Language :: Python :: 3 :: Only", |
24 "Programming Language :: Python :: 3.7", | |
25 "Programming Language :: Python :: 3.8", | |
26 "Programming Language :: Python :: 3.9", | |
130 | 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 ) |