view setup.py @ 35:5a8e2200ddc0

using glob for setup.py
author Goffi <goffi@goffi.org>
date Tue, 28 Dec 2010 22:08:34 +0100
parents 875ff127b2dd
children 67d312aee431
line wrap: on
line source

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

from distutils.core import setup
import sys
from os import path
from glob import glob

name = 'urwid_satext'

setup(name=name,
      version='0.1.0',
      description=u'SàT extension widgets for Urwid',
      author='Goffi (Jérôme Poisson)',
      author_email='goffi@goffi.org',
      url='http://wiki.goffi.org/wiki/Urwid-satext',
      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'])]
     )