forked from shibing624/addressparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (44 loc) · 1.64 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
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8 -*-
from __future__ import print_function
import os
from codecs import open
from setuptools import setup, find_packages
import addressparser
here = os.path.abspath(os.path.dirname(__file__))
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
with open('LICENSE', 'r', encoding='utf-8') as f:
license = f.read()
with open('requirements.txt', 'r', encoding='utf-8') as f:
reqs = f.read()
setup(
name='addressparser',
version=addressparser.__version__,
description='Chinese Address Parser and Extraction Tool,Chinese Province, City and Area Recognition Utilities',
long_description=readme,
long_description_content_type='text/markdown',
author='XuMing',
author_email='xuming624@qq.com',
url='https://github.com/shibing624/addressparser',
license="MIT",
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Text Processing',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
keywords='NLP,Simplified Chinese,Chinese geographic information',
install_requires=reqs.strip().split('\n'),
packages=find_packages(exclude=['tests']),
package_dir={'addressparser': 'addressparser'},
package_data={
'addressparser': ['*.*', '../LICENSE', '../*.txt', '../README.*'],
},
test_suite='tests',
)