comparison setup.py @ 39:8cc5970039f3 0.1.0

distribute is now used with distutils, added urwid requirement
author Goffi <goffi@goffi.org>
date Tue, 11 Jan 2011 15:32:14 +0100
parents 67d312aee431
children 39c1448badd7
comparison
equal deleted inserted replaced
38:67d312aee431 39:8cc5970039f3
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 from distutils.core import setup 4 from distribute_setup import use_setuptools
5 use_setuptools()
6
7 from setuptools import setup
5 import sys 8 import sys
6 from os import path 9 from os import path
7 from glob import glob 10 from glob import glob
8 11
9 name = 'urwid_satext' 12 name = 'urwid_satext'
19 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 22 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
20 'Intended Audience :: Developers'], 23 'Intended Audience :: Developers'],
21 packages=['urwid_satext'], 24 packages=['urwid_satext'],
22 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']), 25 data_files=[(path.join(sys.prefix,'share/locale/fr/LC_MESSAGES'), ['i18n/fr/LC_MESSAGES/urwid_satext.mo']),
23 ('share/doc/%s/examples' % name, glob("examples/*.py")), 26 ('share/doc/%s/examples' % name, glob("examples/*.py")),
24 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])] 27 ('share/doc/%s' % name, ['COPYING','COPYING.LESSER','README'])],
28 install_requires = ['urwid']
25 ) 29 )