-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
36 lines (32 loc) · 991 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
32
33
34
35
#encoding:utf-8
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
# need install xapian-binding-python
scripts = ['scripts/learn']
requires = [
'nose',
'chardet',
]
setup(name='scseg',
version='1.7.4',
description='a python chinese seg word',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
],
author='duanhongyi',
author_email='duanhyi@gmail.com',
url='https://github.com/duanhongyi/scseg',
keywords='Chinese Word Segmentation 中文 分词 工具包 汉语',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
scripts = scripts,
platforms = 'all platform',
license = 'BSD',
)