From ef734fbc45a9bf5ee0e5093bbbe43dcdc3e3ac9f Mon Sep 17 00:00:00 2001 From: Bartosz Broda <bartosz.broda@gmail.com> Date: Wed, 24 Oct 2012 22:20:54 +0200 Subject: [PATCH] temp setup py2exe --- setup_py2exe.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 setup_py2exe.py diff --git a/setup_py2exe.py b/setup_py2exe.py new file mode 100644 index 0000000..7cd1498 --- /dev/null +++ b/setup_py2exe.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup +import py2exe + +setup(name='iobber', + version='0.8.0', + description='Chunker for Slavic languages based on CRF++ and WCCL', + author= "Adam Radziszewski", + author_email="adam.radziszewski@pwr.wroc.pl", + packages=[ + 'iobber' + ], + package_data={ + 'iobber': [ + 'data/*.ini', 'data/*.ccl', 'data/*.txt', 'data/*.lex', + 'data/model-kpwr04/*.cr', 'data/model-kpwr04/*.lex'] + # TODO: pre-trained models as well + }, + license='LGPL', + entry_points={ + 'console_scripts': [ + 'iobber = iobber.iobber:go' + ] + }, + console=['iobber/iobber_txt.py', 'tools/iobber_test.py'], + options = { + "py2exe" : { + "packages" : ["corpus2", 'iobber', 'ctypes', 'platform'], + } + } +) -- GitLab