annotate setup.py @ 102:ba19778eabf2

set the minimal version of urwid to 1.2.0
author souliane <souliane@mailoo.org>
date Thu, 11 Sep 2014 10:38:51 +0200
parents 4629924c136f
children abc0ae944030
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
39
8cc5970039f3 distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents: 38
diff changeset
5 use_setuptools()
8cc5970039f3 distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents: 38
diff changeset
6
8cc5970039f3 distribute is now used with distutils, added urwid requirement
Goffi <goffi@goffi.org>
parents: 38
diff changeset
7 from setuptools import setup
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
8 import sys
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
9 from os import path
35
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
10 from glob import glob
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
11
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
12 name = 'urwid_satext'
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
13
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
14 setup(name=name,
100
4629924c136f Changelog + version update
Goffi <goffi@goffi.org>
parents: 83
diff changeset
15 version='0.4.0',
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
16 description=u'SàT extension widgets for Urwid',
38
67d312aee431 added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents: 35
diff changeset
17 long_description=u'Urwid SàT extension widgets is a set of widgets for the console user interface library Urwid (http://excess.org/urwid/). This library, originaly made for the SàT project, was eventually separated so other softwares can use it. Widgets provided include password text box, tab container, dialogs, file chooser etc. Feel free to go to the project page for more informations.',
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
18 author='Goffi (Jérôme Poisson)',
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
19 author_email='goffi@goffi.org',
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
20 url='http://wiki.goffi.org/wiki/Urwid-satext',
38
67d312aee431 added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents: 35
diff changeset
21 classifiers=['Environment :: Console',
67d312aee431 added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents: 35
diff changeset
22 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
67d312aee431 added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents: 35
diff changeset
23 'Intended Audience :: Developers'],
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
24 packages=['urwid_satext'],
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
25 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']),
35
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
26 ('share/doc/%s/examples' % name, glob("examples/*.py")),
46
ef768273ddba setup.py: added CHANGELOG
Goffi <goffi@goffi.org>
parents: 45
diff changeset
27 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README', "CHANGELOG"])],
102
ba19778eabf2 set the minimal version of urwid to 1.2.0
souliane <souliane@mailoo.org>
parents: 100
diff changeset
28 install_requires=['urwid >= 1.2.0']
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
29 )