comparison 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
comparison
equal deleted inserted replaced
34:875ff127b2dd 35:5a8e2200ddc0
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 from distutils.core import setup 4 from distutils.core import setup
5 import sys 5 import sys
6 from os import path 6 from os import path
7 from glob import glob
7 8
8 name = 'urwid_satext' 9 name = 'urwid_satext'
9 10
10 setup(name=name, 11 setup(name=name,
11 version='0.1.0', 12 version='0.1.0',
13 author='Goffi (Jérôme Poisson)', 14 author='Goffi (Jérôme Poisson)',
14 author_email='goffi@goffi.org', 15 author_email='goffi@goffi.org',
15 url='http://wiki.goffi.org/wiki/Urwid-satext', 16 url='http://wiki.goffi.org/wiki/Urwid-satext',
16 packages=['urwid_satext'], 17 packages=['urwid_satext'],
17 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']), 18 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']),
18 ('share/doc/%s/examples' % name, ["examples/file_dialog.py"]), 19 ('share/doc/%s/examples' % name, glob("examples/*.py")),
19 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])] 20 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])]
20 ) 21 )