annotate setup.py @ 38:67d312aee431

added long_description and classifiers in setup.py metadata
author Goffi <goffi@goffi.org>
date Tue, 28 Dec 2010 22:38:20 +0100
parents 5a8e2200ddc0
children 8cc5970039f3
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
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
4 from distutils.core import setup
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
5 import sys
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
6 from os import path
35
5a8e2200ddc0 using glob for setup.py
Goffi <goffi@goffi.org>
parents: 34
diff changeset
7 from glob import glob
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
8
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
9 name = 'urwid_satext'
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
10
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
11 setup(name=name,
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
12 version='0.1.0',
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
13 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
14 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
15 author='Goffi (Jérôme Poisson)',
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
16 author_email='goffi@goffi.org',
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
17 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
18 classifiers=['Environment :: Console',
67d312aee431 added long_description and classifiers in setup.py metadata
Goffi <goffi@goffi.org>
parents: 35
diff changeset
19 '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
20 'Intended Audience :: Developers'],
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
21 packages=['urwid_satext'],
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
22 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
23 ('share/doc/%s/examples' % name, glob("examples/*.py")),
34
875ff127b2dd - i18n management: gettext integration + french translation
Goffi <goffi@goffi.org>
parents: 31
diff changeset
24 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])]
31
42cb54666fc2 Added basic setup.py
Goffi <goffi@goffi.org>
parents:
diff changeset
25 )