view setup.py @ 83:12b5b1435e17

updated old distribute_setup.py to new setuptools' ez_setup.py
author Goffi <goffi@goffi.org>
date Wed, 03 Sep 2014 17:42:07 +0200
parents e497bf7e3060
children 4629924c136f
line wrap: on
line source

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup
import sys
from os import path
from glob import glob

name = 'urwid_satext'

setup(name=name,
      version='0.3.0',
      description=u'SàT extension widgets for Urwid',
      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.',
      author='Goffi (Jérôme Poisson)',
      author_email='goffi@goffi.org',
      url='http://wiki.goffi.org/wiki/Urwid-satext',
      classifiers=['Environment :: Console',
                   'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
                   'Intended Audience :: Developers'],
      packages=['urwid_satext'],
      data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']),
                  ('share/doc/%s/examples' % name, glob("examples/*.py")),
                  ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README', "CHANGELOG"])],
      install_requires = ['urwid']
     )