Mercurial > urwid-satext
annotate setup.py @ 105:20be00928875
Lower default setuptools version
From 0d607b6ed49eab758fd9b272e148f032e65fb2e2 Mon Sep 17 00:00:00 2001
python-setuptools 5.7 is not yet in Debian, so we need to set the
default version to 5.5 (the current version in sid) to avoid the newer
version to be downloaded from pypi.
author | Matteo Cypriani <mcy@lm7.fr> |
---|---|
date | Tue, 09 Sep 2014 22:09:51 -0400 |
parents | abc0ae944030 |
children | f19947bfd3bf |
rev | line source |
---|---|
31 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
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 | 10 from glob import glob |
31 | 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, |
104
abc0ae944030
new minor release to fix installation on pypi
Goffi <goffi@goffi.org>
parents:
102
diff
changeset
|
15 version='0.4.1', |
31 | 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 | 18 author='Goffi (Jérôme Poisson)', |
19 author_email='goffi@goffi.org', | |
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 | 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 | 26 ('share/doc/%s/examples' % name, glob("examples/*.py")), |
46 | 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 | 29 ) |