forked from BiLiangLtd/WordSimilarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
84 lines (71 loc) · 1.62 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# -*- coding: utf-8 -*-
__author__ = 'commissar'
try:
from setuptools import setup
except:
from distutils.core import setup
# """
# 打包的用的setup必须引入,
# """
NAME = "WordSimilarity"
# """
# 名字,一般放你包的名字即可
# """
PACKAGES = ["word_similarity",'data']
# """
# 包含的包,可以多个,这是一个列表
# """
DESCRIPTION = "基于哈工大同义词词林扩展版的单词相似度计算方法."
# """
# 关于这个包的描述
# """
LONG_DESCRIPTION = DESCRIPTION
# """
# 参见read方法说明
# """
KEYWORDS = ["cilin", "word similarity computation"]
# """
# 关于当前包的一些关键字,方便PyPI进行分类。
# """
AUTHOR = u" wuzhengwei"
# """
# 谁是这个包的作者,
# """
AUTHOR_EMAIL = u"commissarster@qq.com"
# """
# 作者的邮件地址
# """
URL = "https://github.com/BiLiangLtd/WordSimilarity"
VERSION = "0.0.2"
# """
# 当前包的版本
# """
LICENSE = "Apache 2.0"
# """
# 授权方式,
# """
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
],
keywords=KEYWORDS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license=LICENSE,
packages=PACKAGES,
package_data={
"": ['*.txt',"*.jpg","*.pdf"]
},
exclude=["test.*","test*","*.log"],
include_package_data=True,
zip_safe=True,
)