French translation: Corrected a mistake in the assumed encoding.
[jben2_gui.git] / python / setup.py
blob5f444d957f08cde10426647c15d76fb7b50208cf
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
4 from distutils.core import setup
5 from jben import jben_globals, configure
8 # Py2exe include (Windows only)
9 try:
10 import py2exe
11 except ImportError:
12 # Py2exe is not *required*...
13 pass
16 setup(name='jben',
17 version=configure.PACKAGE_VERSION,
18 description='J-Ben: A Japanese study program (alpha)',
19 author=jben_globals.AUTHOR_NAME,
20 author_email='general@vultaire.net',
21 url='http://jben.vultaire.net/',
22 packages=[
23 'jben',
24 'jben.test',
25 'jben.interface',
26 'jben.interface.console',
27 'jben.interface.gtk',
28 'jben.interface.gtk.dialog',
29 'jben.interface.gtk.dialog.preferences',
30 'jben.interface.gtk.widget',
31 'jben.interface.gtk.window',
33 scripts=["scripts/jben_launcher.py"],
34 install_requires=['jblite', 'PyGTK'],
35 classifiers=[
36 'Environment :: Win32 (MS Windows)',
37 'Environment :: X11 Applications :: GTK',
38 'Development Status :: 3 - Alpha',
39 'Intended Audience :: Developers',
40 'License :: OSI Approved :: GNU General Public License (GPL)',
41 'Natural Language :: English',
42 'Operating System :: Microsoft :: Windows :: Windows NT/2000',
43 'Operating System :: POSIX :: Linux',
44 'Programming Language :: Python',
45 'Topic :: Education'
48 # for py2exe
49 windows = [{"script": "py2exe/jben.py"}],
50 #data_files=[("data/images",
51 # ["data/images/jben.xpm", "data/images/jben_16.xpm",
52 # "data/images/jben_32.xpm", "data/images/jben_48.xpm"])],
53 options = {
54 "py2exe": {
55 "packages": "encodings",
56 "includes": "cairo, pango, pangocairo, atk, gobject, gio",