Blame view

morfeusz/wrappers/python2/setup.py.in 761 Bytes
Michał Lenart authored
1
# -*- coding: utf-8 -*-
Michał Lenart authored
2
from setuptools import setup, Extension
Michał Lenart authored
3
Zbigniew Gawłowicz authored
4
5
Michał Lenart authored
6
morfeusz2 = Extension('_morfeusz2',
Michał Lenart authored
7
                    libraries=['morfeusz2'],
Michał Lenart authored
8
                    library_dirs=['${CMAKE_CURRENT_BINARY_DIR}/../..'],
Michał Lenart authored
9
                    include_dirs=['${CMAKE_CURRENT_SOURCE_DIR}/../..', '${PROJECT_BINARY_DIR}'],
Michał Lenart authored
10
                    sources=['${SWIG_PYTHON_OUTFILE_CXX}'])
Michał Lenart authored
11
12

if __name__ == '__main__':
Michał Lenart authored
13
    setup(name='morfeusz2',
Michał Lenart authored
14
15
          author='${CPACK_PACKAGE_VENDOR}',
          author_email='${CPACK_PACKAGE_CONTACT}',
Michał Lenart authored
16
          description='Python bindings for Morfeusz',
Zbigniew Gawłowicz authored
17
          version='${PY2MORFEUSZ_VERSION}',
Michał Lenart authored
18
          package_dir={ '': '${CMAKE_CURRENT_BINARY_DIR}'},
Michał Lenart authored
19
20
          py_modules = ['morfeusz2'],
          ext_modules = [morfeusz2])