-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
31 lines (28 loc) · 920 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from distutils.sysconfig import get_config_vars
from distutils.core import setup, Extension
cfg_vars = get_config_vars()
for key, value in cfg_vars.items():
if type(value) == str:
cfg_vars[key] = value.replace('-Wstrict-prototypes', '')
long_description = open('README.md').read()
setup(
name='KrovetzStemmer',
version='0.8',
description='Python binding to the C++ KrovetzStemmer package',
long_description=long_description,
author='Ruey-Cheng Chen',
author_email='rueycheng@gmail.com',
url='https://github.com/rmit-ir/KrovetzStemmer',
ext_modules=[
Extension(
'krovetzstemmer',
sources=['krovetzstemmer_module.cpp', 'KrovetzStemmer.cpp']
)
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Topic :: Text Processing'
],
license='MIT'
)