-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
19 lines (17 loc) · 776 Bytes
/
setup.py
File metadata and controls
19 lines (17 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from distutils.core import setup, Extension
module1 = Extension('mica_ictclas',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0')],
libraries = ['ICTCLAS50'],
library_dirs = ['.', 'ictc_64bit', 'ictc_32bit'],
sources = ['mica_ictclas.cpp'])
setup (name = 'PackageName',
version = '1.0',
description = 'This is a python-extention for the ICTCLAS package',
author = 'Michael R. Galaxy',
author_email = 'michael@flatgalaxy.com',
url = 'http://michael.flatgalaxy.com/',
long_description = '''
Exposing the C++ ICTCLAS lexical chinese word parser API in Python.
''',
ext_modules = [module1])