-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.py
43 lines (34 loc) · 1.08 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
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'pinyin4py',
version = '1.0.dev',
description = "Convert hanzi to pinyin",
long_description = read('doc/spec.md'),
author = "Zhang Erning",
url = "https://github.com/anjuke/pinyin4py",
license='BSD',
package_dir = {'': 'src'},
packages = find_packages('src'),
include_package_data = True,
package_data = {
'': ['*.txt']
},
zip_safe = False,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Unix',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)