-
Notifications
You must be signed in to change notification settings - Fork 178
/
setup.py
37 lines (35 loc) · 1.26 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
from pathlib import Path
from setuptools import setup
from setuptools import find_packages
here = Path(__file__).resolve().parent
README = (here / 'README.rst').read_text()
CHANGES = (here / 'CHANGES.rst').read_text()
setup(name="xpinyin",
version='0.7.6',
description="Translate Chinese hanzi to pinyin (拼音) by Python, 汉字转拼音",
long_description=README + '\n\n' + CHANGES,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='pinyin',
author="Eric Lo",
author_email="[email protected]",
url="https://github.com/lxneng/xpinyin",
packages=find_packages('src'),
test_suite='xpinyin.tests',
package_dir={'': 'src'},
include_package_data=True,
extras_require={
"test": [
"pytest>=6.2.0"
],
},
license="BSD")