File: setup.py2exe.py

package info (click to toggle)
pyenchant 1.6.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 416 kB
  • sloc: python: 3,127; makefile: 42; sh: 5
file content (18 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  A simple example of how to use pyenchant with py2exe.
#  This script is also used in unittests to test py2exe integration.
#

from distutils.core import setup
import py2exe

from enchant.utils import win32_data_files

setup(
    name="PyEnchant py2exe demo",
    version="0.0.1",
    # Include the necessary supporting data files
    data_files = win32_data_files(),
    # Make a "test_pyenchant.exe" that runs the unittest suite
    console=[dict(script="enchant\\__init__.py",dest_base="test_pyenchant")],
)