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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
1 #!/usr/bin/env python3
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
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
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
4 from glob import glob
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
5
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
6 name = "urwid_satext"
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
7
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
8 setup(
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
9 name=name,
149
5158ff7370e5 version update
Goffi <goffi@goffi.org>
parents: 147
diff changeset
10 version="0.9.0.dev0",
143
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
11 description="SàT extension widgets for Urwid",
145
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
12 long_description=(
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
13 "Urwid SàT extension widgets is a set of widgets for the console "
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
14 "user interface library Urwid (http://excess.org/urwid/). This "
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
15 'library, originaly made for the Libervia (formerly "SàT") project, was '
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
16 "eventually separated so other softwares can use it. Widgets provided "
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
17 "include password text box, tab container, dialogs, file chooser "
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
18 "etc. Feel free to go to the project page for more informations."),
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
19 author="Goffi (Jérôme Poisson)",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
20 author_email="goffi@goffi.org",
145
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
21 url="https://wiki.goffi.org/w/index.php/Urwid-satext",
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
22 classifiers=[
145
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
23 "Programming Language :: Python :: 3 :: Only",
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
24 "Programming Language :: Python :: 3.7",
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
25 "Programming Language :: Python :: 3.8",
d505d9ee792e v0.8.0b1 release
Goffi <goffi@goffi.org>
parents: 143
diff changeset
26 "Programming Language :: Python :: 3.9",
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
27 "Environment :: Console",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
28 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
29 "Intended Audience :: Developers",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
30 ],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
31 packages=["urwid_satext"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
32 data_files=[
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
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
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
35 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
36 ),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
37 ("share/doc/%s/examples" % name, glob("examples/*.py")),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
38 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
39 ],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
40 install_requires=["urwid >= 1.2.0"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
41 )