-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
35 lines (30 loc) · 1.11 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
#!/usr/bin/env python
from setuptools import setup
def fread(filepath, skip_lines=0):
with open(filepath, 'r') as f:
return ''.join(f.readlines()[skip_lines:])
setup(
name='GB2260',
version='0.4.1',
author='Jiangge Zhang',
author_email='tonyseek@gmail.com',
url='https://github.com/cn/GB2260.py',
packages=['gb2260'],
description='The Python implementation for looking up the Chinese '
'administrative divisions.',
long_description=fread('README.rst', skip_lines=2),
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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
]
)