-
Notifications
You must be signed in to change notification settings - Fork 47
/
setup.py
36 lines (33 loc) · 1.21 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from io import open
from setuptools import setup
setup(
name='pinyin',
version='0.4.0',
description='Translate chinese chars to pinyin based on Mandarin.dat',
author='Lx Yu',
author_email='[email protected]',
packages=['pinyin', ],
package_data={
'': ['LICENSE'],
'pinyin': ['Mandarin.dat', 'cedict.txt.gz'], },
entry_points={"console_scripts": ["pinyin = pinyin.cmd:pinyin", ]},
url='http://lxyu.github.io/pinyin/',
license="BSD",
long_description=open('README.rst', encoding='utf-8').read(),
classifiers=[
"Topic :: Software Development",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
)