Logo Search packages:      
Sourcecode: eikazo version File versions  Download package

setup.py

from distutils.core import setup, Extension
import os

dir = os.path.split(__file__)[0]
if dir:
    os.chdir(dir)

mofiles = []
for dir in os.listdir('Eikazo/mo'):
    mf = os.path.join('mo', dir, 'LC_MESSAGES', '*.mo')
    mofiles.append(mf)


setup(name='Eikazo',
           version=open('Eikazo/version.txt').read().strip(),
           author='Abel Deuring',
           author_email='adeuring@gmx.net',
           license = 'GPL',
           packages=['Eikazo', 
                     'Eikazo/output',
                     'Eikazo/devices',
                     'Eikazo/postprocessing',
                    ],
           package_data={'Eikazo': ['version.txt',
                                     'doc/*.rst', 
                                     'doc/*.html',
                                     'doc/*.css',
                                     'doc/images/*.png'] + mofiles},
           scripts=['eikazo'],
           ext_modules = [Extension('_meanFilter',
                                    ['cext/MeanFilter.c'],
                                    extra_compile_args=['-Wall'],
                                   ),
                          Extension('otsu',
                                    ['cext/Otsu.c'],
                                    extra_compile_args=['-Wall'],
                                   ),
                         ]
     )

Generated by  Doxygen 1.6.0   Back to index