from distutils.core import setup, Extension
#import py2exe

setup(name='mm2xhtml',
      version='0.15',
      description='MixedMark command utility',
      author='Kenji Saito',
      author_email='ksaito@do-johodai.ac.jp',
      url='http://mixedmark.sourceforge.jp/',
      package_dir={'': 'src'},
      packages=['mm2xhtml', 'mm2xhtml.swap'],
      package_data={'mm2xhtml': ['mixedmark.ent']},
      ext_modules=[Extension('mm2xhtml.itex2mml',['itexToMML/itex2MML.cc','itexToMML/lex.yy.c','itexToMML/y.tab.c'],define_macros=[('YY_NO_UNISTD_H','1')])],
      scripts=['scripts/mm2xhtml','scripts/mmServer','scripts/markdown']
#      ,console=['scripts/mm2xhtml','scripts/mmServer','scripts/markdown'],
#      options = { "py2exe" : { "includes" : "email.generator, email.iterators, email.parser, email.utils" } }
      )
