forked from shibing624/pytextclassifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (44 loc) · 1.41 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
"""
@author:XuMing(xuming624@qq.com)
@description:
"""
from setuptools import setup, find_packages
__version__ = '1.3.7'
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
name='pytextclassifier',
version=__version__,
description='Text Classifier, Text Classification',
long_description=readme,
long_description_content_type='text/markdown',
author='XuMing',
author_email='xuming624@qq.com',
url='https://github.com/shibing624/pytextclassifier',
license='Apache 2.0',
classifiers=[
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Linguistic',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='pytextclassifier,textclassifier,classifier,textclassification',
install_requires=[
"loguru",
"jieba",
"scikit-learn",
"pandas",
"numpy",
"transformers",
],
packages=find_packages(exclude=['tests']),
package_dir={'pytextclassifier': 'pytextclassifier'},
package_data={
'pytextclassifier': ['*.*', '*.txt', '../examples/thucnews_train_1w.txt'],
},
)