forked from cn/GB2260.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (29 loc) · 1.12 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
def fread(filepath, skip_lines=0):
with open(filepath, 'r') as f:
return ''.join(f.readlines()[skip_lines:])
setup(
name='GB2260-v2',
version='0.2.1',
url='https://github.com/bosondata/GB2260.py',
packages=find_packages(exclude=('tests', 'tests.*')),
description='The Python implementation for looking up the Chinese '
'administrative divisions.',
license='BSD',
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Natural Language :: Chinese (Simplified)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
]
)