Mercurial > urwid-satext
changeset 35:5a8e2200ddc0
using glob for setup.py
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Dec 2010 22:08:34 +0100 |
parents | 875ff127b2dd |
children | 63de49c6d76b |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Tue Dec 28 21:48:01 2010 +0100 +++ b/setup.py Tue Dec 28 22:08:34 2010 +0100 @@ -4,6 +4,7 @@ from distutils.core import setup import sys from os import path +from glob import glob name = 'urwid_satext' @@ -15,6 +16,6 @@ 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, ["examples/file_dialog.py"]), + ('share/doc/%s/examples' % name, glob("examples/*.py")), ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])] )