annotate setup.py @ 143:144bdf877d21

python 3 port (using 2to3)
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 08:55:41 +0200
parents 2855123621a0
children d505d9ee792e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/env python
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
3
39
8cc5970039f3 distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents: 38
diff changeset
4 from setuptools import setup
35
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
5 from glob import glob
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
6
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
7 name = "urwid_satext"
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
8
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
9 setup(
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
10 name=name,
142
2855123621a0 updated version in setup.py
Goffi <goffi@goffi.org>
parents: 140
diff changeset
11 version="0.8.0.dev0",
143
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
12 description="SàT extension widgets for Urwid",
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
13 long_description=("Urwid SàT extension widgets is a set of widgets for the console "
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
14 "user interface library Urwid (http://excess.org/urwid/). This "
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
15 "library, originaly made for the SàT project, was eventually "
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
16 "separated so other softwares can use it. Widgets provided "
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
diff changeset
17 "include password text box, tab container, dialogs, file chooser "
144bdf877d21 python 3 port (using 2to3)
Goffi <goffi@goffi.org>
parents: 142
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",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
21 url="http://wiki.goffi.org/wiki/Urwid-satext",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
22 classifiers=[
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
23 "Environment :: Console",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
24 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
25 "Intended Audience :: Developers",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
26 ],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
27 packages=["urwid_satext"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
28 data_files=[
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
29 (
131
331546daef20 install (setup.py): don't force sys.prefix for locales
Goffi <goffi@goffi.org>
parents: 130
diff changeset
30 "share/locale/fr/LC_MESSAGES",
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
31 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
32 ),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
33 ("share/doc/%s/examples" % name, glob("examples/*.py")),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
34 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
35 ],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
36 install_requires=["urwid >= 1.2.0"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
37 )