annotate setup.py @ 138:f1624c1fb0e6

install: removed deprecated ez_setup.py
author Goffi <goffi@goffi.org>
date Wed, 24 Jul 2019 20:20:05 +0200
parents 78126ba2a04c
children 810f92c7de88
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,
136
78126ba2a04c 0.7.0a3 release
Goffi <goffi@goffi.org>
parents: 132
diff changeset
11 version="0.7.0a3",
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
12 description=u"SàT extension widgets for Urwid",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
13 long_description=(u"Urwid SàT extension widgets is a set of widgets for the console "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
14 u"user interface library Urwid (http://excess.org/urwid/). This "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
15 u"library, originaly made for the SàT project, was eventually "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
16 u"separated so other softwares can use it. Widgets provided "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
17 u"include password text box, tab container, dialogs, file chooser "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
18 u"etc. Feel free to go to the project page for more informations."),
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 )