annotate setup.py @ 130:406c310e52b5 0.7.0a1

0.7.0a1 release
author Goffi <goffi@goffi.org>
date Wed, 04 Jul 2018 07:45:36 +0200
parents 33cb9a05ff84
children 331546daef20
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
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
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
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
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
9 import sys
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
10 from os import path
35
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
11 from glob import glob
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
12
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
13 name = "urwid_satext"
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
14
130
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
15 setup(
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
16 name=name,
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
17 version="0.7.0a1",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
18 description=u"SàT extension widgets for Urwid",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
19 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
20 u"user interface library Urwid (http://excess.org/urwid/). This "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
21 u"library, originaly made for the SàT project, was eventually "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
22 u"separated so other softwares can use it. Widgets provided "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
23 u"include password text box, tab container, dialogs, file chooser "
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
24 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
25 author="Goffi (Jérôme Poisson)",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
26 author_email="goffi@goffi.org",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
27 url="http://wiki.goffi.org/wiki/Urwid-satext",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
28 classifiers=[
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
29 "Environment :: Console",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
30 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
31 "Intended Audience :: Developers",
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 packages=["urwid_satext"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
34 data_files=[
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 path.join(sys.prefix, "share/locale/fr/LC_MESSAGES"),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
37 ["i18n/fr/LC_MESSAGES/urwid_satext.mo"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
38 ),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
39 ("share/doc/%s/examples" % name, glob("examples/*.py")),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
40 ("share/doc/%s" % name, ["COPYING", "COPYING.LESSER", "README", "CHANGELOG"]),
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
41 ],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
42 install_requires=["urwid >= 1.2.0"],
406c310e52b5 0.7.0a1 release
Goffi <goffi@goffi.org>
parents: 125
diff changeset
43 )